Пример #1
0
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()
Пример #2
0
def deploy_git_rizumu():
    git.pull("rizumu")
    git.pull_scenemachine()
    django.staticfiles("rizumu")
    supervisor.restart("rizumu")
Пример #3
0
def launch_apps():
    "Launch all apps defined in ``settings_deploymachine.py``."
    for site in settings.SITES:
        launch_app(site["name"])
    supervisor.restart()