Skip to content

Instantly share code, notes, and snippets.

@woodbridge
Created July 5, 2012 22:41
Show Gist options
  • Select an option

  • Save woodbridge/3056922 to your computer and use it in GitHub Desktop.

Select an option

Save woodbridge/3056922 to your computer and use it in GitHub Desktop.
#!/bin/bash
source "$HOME/casexpert/bin/activate"
cd "$HOME/casexpert/src"
git pull --rebase
casexpert/manage.py migrate
casexpert/manage.py synccompress
# We should fix this, the app is setup incorrectly
#casexpert/manage.py collectstatic
sudo restart casexpert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment