Last active
August 29, 2015 14:22
-
-
Save WaYdotNET/f59127772158e6c10847 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| DJANGO_VERSION=1.4 | |
| VENV="django$DJANGO_VERSION" | |
| # create virtualenv: "django<version>" e.g. django1.4 | |
| mkdir lib | |
| cd lib | |
| virtualenv --system-site-packages $VENV | |
| cd $VENV | |
| # source the venv | |
| source ./bin/activate | |
| # download django. | |
| DJANGO_TARBALL="Django-$DJANGO_VERSION.tar.gz" | |
| wget "http://www.djangoproject.com/download/$DJANGO_VERSION/tarball" | |
| tar xvfz $DJANGO_TARBALL | |
| cd "Django-$DJANGO_VERSION" | |
| python setup.py install | |
| # install south + pytils | |
| pip install south pytils | |
| echo "complete" | |
| echo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment