Last active
December 19, 2015 13:09
-
-
Save devniel/5960238 to your computer and use it in GitHub Desktop.
django environment
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
| sudo apt-get install python-setuptools | |
| #Or : sudo yum install gcc python-setuptools python-devel postgresql-devel | |
| wget https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz | |
| tar -xvf pip*.gz | |
| cd pip*.gz | |
| sudo python setup.py install | |
| sudo pip install virtualenv | |
| sudo pip install virtualenvwrapper | |
| mkdir ~/.venvs | |
| export WORKON_HOME=~/.venvs | |
| source /usr/bin/virtualenvwrapper.sh # or /usr/local/bin/ | |
| mkvirtualenv MYENV | |
| workon MYENV | |
| # For support to a postgresql database | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment