This mediator is intended to send api request to dhis2 server
The private-config.json
is used to store all the credentials and connection URLs of the mediator. The credentials are currently left out, so the file needs to be renamed with all the required credentials and URLs before installation for the mediator to work.
To run the mediator without connecting it to the OpenHIM server, you can use the following commands if you have Node.js
installed:
-
cd dhis2-mediator
-
npm install
-
npm start
The mediator can be built and run using the docker-compose.yml
file configurations.
-
Navigate to
dhis2-mediator
folder where thedocker-compose.yml
is. -
docker-compose build
-
docker-compose up -d
-
docker network create openHIM