Skip to content

Instantly share code, notes, and snippets.

@adamhaney
Forked from jaredlewis/fabfile.py
Last active December 17, 2015 16:29
Show Gist options
  • Save adamhaney/5638638 to your computer and use it in GitHub Desktop.
Save adamhaney/5638638 to your computer and use it in GitHub Desktop.
def deploy():
execute(__backup__)
execute(__pull__)
execute(__install_requirements__)
execute(syncdb)
execute(collectstatic)
execute(restart)
execute(newrelic)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment