apt-get install python-setuptools
easy_install pipThen
pip install virtualenv
pip install virtualenvwrapper
nano ~/.bashrc
Now copy the required path
# virtualenvwrapper
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
export PIP_VIRTUALENV_BASE=$WORKON_HOME
export PIP_RESPECT_VIRTUALENV=true
source ~/.bashrc
mkdir ~/.virtualenvs
Usage examples:
mkvirtualenv --no-site-packages myenv
workon myenv
Pinax
Then you can cd to favorite directory and install pinax:
pip install PinaxAnd replicate a project:
pinax-admin setup_project -b social myproj
Thansk:
http://blog.sidmitra.com/manage-multiple-projects-better-with-virtuale
No comments:
Post a Comment