Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.1 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.1 KB

DHIS2 App Hub

Pre-requisites

Basic Usage

To start the PostgreSQL server and App Hub backend/frontend you can start everything with a default database and some example data.

> ./scripts/start-and-seed.sh

Once started, the services should automatically restart if Docker or the host machine are restarted.

You can stop the services manually, this will also destroy the database as this is currently not in a separate volume:

> ./scripts/stop.sh

To seed the database on an existing cluster:

> ./scripts/seed.sh

To reset the database on an existing cluster:

> ./scripts/reset-db.sh

Advanced Usage

To run the App Hub on a separate port than the default 8080, this is also possible. For example on port 8081:

> DHIS2_APPHUB_PORT=8081 ./scripts/start-and-seed.sh