Add fixture data to the README
The site requires you to have some basic data installed in your database before running. This is located in the fixtures file and so the README should tell people to install this data.
This commit is contained in:
parent
4c392a1baa
commit
b4dd6e9e4a
1 changed files with 8 additions and 0 deletions
|
@ -68,3 +68,11 @@ Shut down and now run:
|
||||||
``./manage.py populate_inventory``
|
``./manage.py populate_inventory``
|
||||||
|
|
||||||
Now you can run the system and see how it goes.
|
Now you can run the system and see how it goes.
|
||||||
|
|
||||||
|
Base Data
|
||||||
|
~~~~~~~~~
|
||||||
|
|
||||||
|
On initial creation and whenever you reset the database you must reload the
|
||||||
|
basic data. This data is stored in the /fixtures directory. You can load this with:
|
||||||
|
|
||||||
|
``./manage.py loaddata ./fixtures/*.json``
|
||||||
|
|
Loading…
Reference in a new issue