-
-
Save SpotlightKid/7054735 to your computer and use it in GitHub Desktop.
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