Basic configuration of OpenLMIS demo.
To initialize:
- Start from a clean OpenLMIS installation
- Run
python generateSeed.py
to create theseed.sql
file which will copy the data from the first set of CSVs into the database. - Load the database seed with a command such as
psql open_lmis -f seed.sql
- Start the OpenLMIS application and login through the web using an admin account with upload rights.
- Load each file in the
upload/
directory in order using the prepended number, e.g.01_some_file.csv
, with the OpenLMIS Upload feature.