Created
October 18, 2013 18:06
-
-
Save jasjukaitis/7045608 to your computer and use it in GitHub Desktop.
Inits a project made with the django-cms-boilerplate
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/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
You need to create
<project>/settings/local.py
with aSECRET_KEY
setting before runningfab install_dev_requirements
, e.g. before line 14: