Skip to content

Instantly share code, notes, and snippets.

@natea
Created June 22, 2011 11:07
Show Gist options
  • Save natea/1039884 to your computer and use it in GitHub Desktop.
Save natea/1039884 to your computer and use it in GitHub Desktop.
def deploy():
code_dir = '/srv/django/myproject'
with cd(code_dir):
run("git pull")
run("touch app.wsgi")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment