-
-
Save saippuakauppias/1695283 to your computer and use it in GitHub Desktop.
Virtualenv
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
sudo apt-get -y install git | |
sudo apt-get -y install curl | |
sudo apt-get -y install python-dev | |
sudo apt-get -y install libjpeg8-dev | |
sudo apt-get -y install libfreetype6-dev | |
curl http://python-distribute.org/distribute_setup.py | sudo python | |
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python | |
sudo pip install virtualenv | |
sudo pip install virtualenvwrapper | |
mkdir -p ~/.virtualenvs | |
mkdir -p ~/projects | |
echo "" >> ~/.bashrc | |
echo "export WORKON_HOME=\$HOME/.virtualenvs" >> ~/.bashrc | |
echo "export PROJECT_HOME=\$HOME/projects" >> ~/.bashrc | |
echo "export VIRTUALENVWRAPPER_LOG_DIR=\$WORKON_HOME" >> ~/.bashrc | |
echo "source \"/usr/local/bin/virtualenvwrapper.sh\"" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment