Skip to content

Instantly share code, notes, and snippets.

@keokilee
Created March 12, 2011 01:47
Show Gist options
  • Save keokilee/866936 to your computer and use it in GitHub Desktop.
Save keokilee/866936 to your computer and use it in GitHub Desktop.
Update the staging server's requirements and its database.
source ~/Envs/user/bin/activate
cd ~/staging/$BUILD_TAG/
echo "Updating requirements and migrating database."
pip install -r requirements.pip -q;
python manage.py syncdb
python manage.py migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment