git clone https://github.com/scottstanie/codenames.git && cd codenames
mkvirtualenv codenames
pip install -r requirements.txt
export DEBUG=True
export SECRET_KEY=asdfjkl;
./manage.py runserver
...this will fail, since the database needs to be set up.
If you don't have postgres installed locally: http://postgresapp.com/ or brew install postgres
(I used the former)
Open up psql
CREATE DATABASE codenames;
Then run the migrations to set up the database:
./manage.py migrate
To load the words being used:
./manage.py loaddata codenames/data/standard_word_fixture.json
Now the ./manage.py runserver
should work. You will still need to make some users, so you should probably make yourself as a superuser:
./manage.py createsuperuser