########## END HELPERS
########## ENVIRONMENTS
+@task
def beta():
"""
Beta connection information
env.proj_dir = os.path.join(env.proj_root, 'karmaworld')
+@task
def prod():
"""
Production connection information
########## COMMANDS
+@task
def make_virtualenv():
"""
Creates a virtualenv on the remote host
run('mkvirtualenv %s' % env.virtualenv)
+@task
def update_reqs():
"""
Makes sure all packages listed in requirements are installed
run('pip install -r requirements/production.pip')
+@task
def clone():
"""
Clones the project from the central repository
run('git clone %s %s' % (env.proj_repo, env.proj_dir))
+@task
def update_code():
"""
Pulls the latest changes from the central repository
run('git pull')
+@task
def deploy():
"""
Creates or updates the project, runs migrations, installs dependencies.