def full_deploy(static=False):
    """
    Full scenemachine deploy
    Usage:
        fab appbalancer full_deploy:static=True

    Remember to handle requirements separately.
    """
    git_pull_scenemachine()
    settings_local("prod")
    git.pull()
    if static:
        django.staticfiles()
    supervisor.restart()
def deploy_git_rizumu():
    git.pull("rizumu")
    git.pull_scenemachine()
    django.staticfiles("rizumu")
    supervisor.restart("rizumu")
Exemple #3
0
def launch_apps():
    "Launch all apps defined in ``settings_deploymachine.py``."
    for site in settings.SITES:
        launch_app(site["name"])
    supervisor.restart()