Added to README: how to load data from fixtures.

This commit is contained in:
Mike Scherbakov 2012-06-14 19:22:08 +04:00
parent 3dbdd98529
commit e092991513
1 changed files with 25 additions and 2 deletions

View File

@ -1,5 +1,28 @@
product-and-community
=====================
NAILGUN
=======
How to run Nailgun app from fixtures
------------------------------------
Remove old DB:
`cd nailgun`
`rm -f nailgun.sqlite`
Sync DB:
`./manage.py syncdb --noinput`
Load data from fixtures:
`./manage.py loaddata sample_environment`
Run application:
`./manage.py runserver`
Access Web UI at http://localhost:8000/
Deploying virtual environment
-----------------------------