DHIS 2 demo databases
Latest commit 8ac5f87 Jan 20, 2017 @Bekkalizer Bekkalizer added 2.26 examples
WCO RMNCH program:
New rule to hide ppc program stage unless current pregnancy has a live
outcome registered.
New enrollment program indicators that use enrollment mode.
Child program: New enrollment program indicator example



DHIS 2 demo databases

This repository contains PostgreSQL dumps of demo databases.

To work with the database you can gunzip it:

gunzip dhis2-db-sierra-leone.sql.gz

Restore it using psql:

psql -d dhis2 -U dhis -f dhis2-db-sierra-leone.sql

After modifying it you can create a dump using pg_dump. Please gzip and exclude the analytics and resource tables as they will be generated later and take up a lot of space:

pg_dump dhis2 -U dhis -T analytics* -T _* | gzip > dhis2-db-sierra-leone.sql.gz

Remember to write good commit messages to explain what you do with the databases.