Created
March 31, 2016 16:48
-
-
Save Hamled/4fcfa87328e23be6898624ae19313f8a to your computer and use it in GitHub Desktop.
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
# FIRST edit the next line to have the path to your project-forks folder | |
# Something like ~/Desktop/ada/project-forks | |
export PROJECTS=~/path/to/your/project-forks | |
# THEN run these lines (unmodified) | |
brew install python | |
pip install virtualenv | |
pip install virtualenvwrapper | |
echo "export WORKON_HOME=~/.virtualenvs" >> ~/.bashrc | |
echo "export PROJECT_HOME=$PROJECTS" >> ~/.bashrc | |
echo "export VIRTUALENVWRAPPER_WORKON_CD=1" >> ~/.bashrc | |
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc | |
echo "alias workoff='deactivate && cd'" >> ~/.bash_aliases | |
# FINALLY close your terminal, re-open it, and run: | |
workon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment