Created
March 12, 2011 00:40
-
-
Save keokilee/866868 to your computer and use it in GitHub Desktop.
Creates a virtual env with Pinax if it doesn't exist.
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/bash | |
if [ -d ".env" ]; then | |
echo "**> virtualenv exists" | |
else | |
echo "**> creating virtualenv" | |
virtualenv .env | |
echo "**> Downloading Pinax" | |
curl http://downloads.pinaxproject.com/Pinax-0.7.3-bundle.tar.gz -o Pinax-0.7.3-bundle.tar.gz | |
echo "**> Extracting Pinax" | |
tar -xf Pinax-0.7.3-bundle.tar.gz | |
echo "**> Installing Pinax in virtualenv .env" | |
python Pinax-0.7.3-bundle/scripts/pinax-boot.py .env | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment