예제 #1
0
def upload_config():
    """Upload a new app config"""
    with app_context() as c:
        c.upload_config()
예제 #2
0
def create_app_context():
    """Create an app context"""
    with app_context() as c:
        c.create()
예제 #3
0
def upload_release():
    """Upload a new app release"""
    with app_context() as c:
        c.upload_app()
예제 #4
0
def stop_app():
    """Stop the application"""
    with app_context() as c:
        c.stop()
예제 #5
0
def start_app():
    """Start the applicaiton"""
    with app_context() as c:
        c.start()
예제 #6
0
def restart_app():
    """Restart the application"""
    with app_context() as c:
        c.restart()
예제 #7
0
def deploy():
    """Full deploy (upload_release, upload_config, link_config, restart_app)"""
    with app_context() as c:
        c.deploy()
예제 #8
0
def link_config():
    """Symlink necessary config files"""
    with app_context() as c:
        c.link_config()