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))
def localdeploy(ref): web.build_app(fabconfig.PROJECT_DIR, ref) web.install_app(fabconfig.CLUSTER_DIR, fabconfig.SITE_NAME)
def deploy_to_admin(ref): web.build_app(PROJECT_DIR, ref) web.install_app(CLUSTER_DIR, SITE_NAME)