Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (24 sloc) 868 Bytes
To run locally, do the usual:
1. Create a virtualenv
2. Install dependencies::
pip install -r deploy-requirements.txt
If you only need to deploy, and don't need to test any changes,
you can use local-requirements.txt
3. Set up databases, as per django_website/settings/
4. Create a 'secrets.json' file in the directoy above the checkout, containing
something like::
{ "secret_key": "xyz" }
5. Set up DB::
./ syncdb
./ migrate
./ sycndb --docs
if you want to run docs site.
6. For docs::
./ loaddata doc_releases.json --docs
./ update_docs --docs
python runserver
This runs as ````. To run locally as
````, use::
python runserver