def deploy(verbose, app): """Deploy app using Heroku to MTurk.""" if app: verify_id(None, None, app) log(header, chevrons=False) _deploy_in_mode("live", app=app, verbose=verbose, log=log)
def sandbox(verbose, app): """Deploy app using Heroku to the MTurk Sandbox.""" if app: verify_id(None, None, app) log(header, chevrons=False) _deploy_in_mode("sandbox", app=app, verbose=verbose, log=log)