Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (18 loc) · 729 Bytes

README.md

File metadata and controls

35 lines (18 loc) · 729 Bytes

Quick setup

Set up a virtualenv; for example, using virtualenvwrapper:

mkvirtualenv tournasite
workon tournasite

Install requirements:

pip install -r requirements.txt

If you want to run tests, also install dev-requirements:

pip install -r dev-requirements.txt

You'll need to put local settings in compo/local_settings.py. For convenience a minimal example is provided in scripts/local_settings_example.py.

Create a directory for the database:

mkdir db

Then syncdb as usual:

./manage.py syncdb

Front-end components are managed using bower. To install and build:

./scripts/install-components.sh

Now you should be ready to run the development server!

./manage.py runserver