Skip to content

mvillis/wordplay

Repository files navigation

Dev Central

Build Status Coverage Status Gitter

Demo

Live Site (hosted on Heroku)

Setup

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

Testing

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

coverage run manage.py test
coverage report -m

Running

python manage.py migrate
python manage.py collectstatic
python manage.py runserver