Configuration of OpenLMIS to be SELV initially has two steps. From a blank slate (clean DB in current OpenLMIS schema):
- Load the database seed files.
- For convenience there is a director type loading file named seed.sql. This file is generated by running the python script generateSeed.py within the directory.
- Order of the loading is important and is determined by the sequence the files "appear" in. The naming convention 01_, 02_, 03_, etc... accomplishes this.
- Loading into the database can then be done by running:
psql open_lmis -f seed.sql
- Upload the reference files.