/
Tanzania eLMIS demo data
Tanzania eLMIS demo data
The scripts for eLMIS instance data used in Tanzania can be found here. This scripts will do the followings;
- Clear content on your program table and insert ILS Redesign program.
- Clear facilities reference data on your database and create new two facilities - one dispensary another health center.
- Clear product reference data on your database and create four new products, map products with program and facilities.
- Create new RnR template for ILS Redesign program.
- Clear users on your database and create four new users
- Store in charge - username: StoreInCharge, password: Admin123, role: creates and submits requisitions
- Facility in charge - username: FacilityInCharge, password: Admin123, role: authorizes requisitions
- LMU - username: lmu, password: Admin123, role: approves requisitions
- Administrator - username: Admin123, password: Admin123, role: Admin
- Add processing schedules
- Add requisitions groups
How to use these scripts?
- These scripts can be downloaded and extracted on local machine to this directory on your project (open-lmis/test-data).
- Add following gradle task on this file on your project (open-lmis/modules/db/build.gradle)
task casperSeed(type: Exec) {
environment("PGPASSWORD", dbPassword)
commandLine 'psql', 'U', dbUser, '-file', '../../test-data/casper/seed.sql', '-h', databaseHostName, '-w', dbName
} - You are done, now every time you want fresh data you will have to run this command
gradle casperSeed
Note:
Past requisitions have not yet been included on this script
Quick corresponding v3 SQL script
, multiple selections available,
Related content
Developer Walkthrough
Developer Walkthrough
More like this
Developer Onboarding Guide
Developer Onboarding Guide
More like this
Proposed Demo Data and Notes
Proposed Demo Data and Notes
More like this
I dont see my facility
I dont see my facility
More like this
GHSC-TZ Migration (Project Casper)
GHSC-TZ Migration (Project Casper)
More like this
Tanzania RnR Template Configuration
Tanzania RnR Template Configuration
More like this
OpenLMIS: the global initiative for powerful LMIS software