Created
February 25, 2013 06:11
-
-
Save powellc/5028074 to your computer and use it in GitHub Desktop.
A building block for django app integrations with Jenkins
This file contains hidden or 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 --no-site-packages --distribute venv | |
| source venv/bin/activate | |
| pip install -r etc/requirements.txt | |
| ln -fs `pwd`/local_settings_template.py `pwd`/local_settings.py | |
| python manage.py syncdb --noinput | |
| python manage.py migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment