Example #1
0
def deploy_to_admin(ref):
    web.build_app(PROJECT_DIR, ref)
    web.install_app(CLUSTER_DIR, SITE_NAME)

    release_dir = os.path.join(PROJECT_DIR, 'current')

    venv = os.path.join(release_dir, 'venv')
    python = os.path.join(venv, 'bin',  'python')
    app = os.path.join(release_dir, 'solitude')
    with lcd(app):
        local('%s %s/bin/schematic migrations' % (python, venv))
Example #2
0
def localdeploy(ref):
    web.build_app(fabconfig.PROJECT_DIR, ref)
    web.install_app(fabconfig.CLUSTER_DIR, fabconfig.SITE_NAME)
Example #3
0
def deploy_to_admin(ref):
    web.build_app(PROJECT_DIR, ref)
    web.install_app(CLUSTER_DIR, SITE_NAME)