Basic Project Setup
If you plan to work on any project with me, this is the basic setup I recommend you have before you look at Makefile of my project.
- Make sure you are using latest pip.
- Install mkvirtualenv globally via system pip (eg /usr/bin/pip).
- In project directories you will find a .venv named file, the content of this file is the $name of the virtual environment we will be working with.
- Create the virtual environment using
mkvirtualenv $name
. - Make sure you are using zsh with oh-my-zsh.
- Make sure you got virtualenvwrapper in your
plugins=(git python pip virtualenvwrapper)
in .zshrc. - Now when you cd into the project directory, pip/python etc will point to the virtualenv you created in 4th step.
blog comments powered by Disqus