Exemplo n.º 1
0
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)
Exemplo n.º 2
0
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)