Mockup data#

To speed up the initial setup process or a reset during development, you can reset your database and load mockup data with the following commands. It contains 7 measurements from different access keys of 2 courses at 5 different waters.


Be aware that this means any existing data will be deleted.

python flush
python createsuperuser
python loaddata production.json
python loaddata fixture.json
python defaultpermissions -f

Then use the django admin interface to:

  • update all waters from OSM in order to load their geometry.

  • create and calculate water quality indices for all measurements.