python3, virtualenv and django on mac os x homebrew

brew update
brew upgrade
brew install python3

pip3 install virtualenvwrapper

add the following to your ~/.bash_profile:

export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Projects
export VIRTUALENVWRAPPER_PYTHON='/usr/local/bin/python3'
source /usr/local/bin/

Then create and activate the virtual environment:

git clone
# or just git pull
cd /projects/your_project
mkvirtualenv your_project --python=/usr/local/bin/python3
workon your_project

In some projects there might be an .env-example file. Copy it to .env and update the sample values inside.

pip install -r requirements.txt
pip install -r requirements-dev.txt

# migrate the db
./manage migrate