Created
February 12, 2012 08:05
-
-
Save ashkrosh/1807183 to your computer and use it in GitHub Desktop.
simplest deploy script for a django project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
cd $WORKSPACE | |
virtualenv -q ve | |
source ./ve/bin/activate | |
pip install -E ./ve -r requirements.txt | |
pip install -E ./ve -r requirements-testing.txt | |
cd $WORKSPACE/projectname | |
ln -fs `pwd`/conf/testsettings.py `pwd`/localsettings.py | |
python manage.py migrate | |
python manage.py jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment