Skip to content

Instantly share code, notes, and snippets.

@ashkrosh
Created February 12, 2012 08:05
simplest deploy script for a django project
#!/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