Skip to content

Instantly share code, notes, and snippets.

@Hamled
Created March 31, 2016 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hamled/4fcfa87328e23be6898624ae19313f8a to your computer and use it in GitHub Desktop.
Save Hamled/4fcfa87328e23be6898624ae19313f8a to your computer and use it in GitHub Desktop.
# 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