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:
Jamie Lennox 2017-06-10 12:34:39 +10:00
parent 4c392a1baa
commit b4dd6e9e4a

View file

@ -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``