virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
In order to install mock you may need to update your versions of pip, wheel and setuptools. After creating your virtual environment the following command will do the trick:
$ pip install -U pip wheel setuptools
export TEAMTEMP_SECRET_KEY=`python -c 'import uuid; print uuid.uuid4()'`
export DJANGO_SETTINGS_MODULE=wordplay.settings
export DATABASE_URL=sqlite:///`pwd`/wordplay.sqlite
python manage.py test
coverage run manage.py test
coverage report -m
python manage.py migrate
python manage.py collectstatic
python manage.py runserver