Skip to content

Instantly share code, notes, and snippets.

@SpotlightKid
Forked from jasjukaitis/initcmsproject.sh
Created October 19, 2013 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SpotlightKid/7054735 to your computer and use it in GitHub Desktop.
Save SpotlightKid/7054735 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Inits a project made with the django-cms-boilerplate
# Requires virtualenvwrapper and pip
# Create virtualenv if no active
if [ "$VIRTUAL_ENV" == "" ]; then
echo "Creating virtualenv... Name?"
read venvname
source virtualenvwrapper.sh
mkvirtualenv --no-site-packages $venvname
workon $venvname
else echo "Using active virtualenv."
fi
pip install django fabric
fab install_dev_requirements syncdb mo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment