This repository was archived by the owner on Feb 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NMA-653-Added Function to send past 3 months from the current date on…
… the DB mediator for DHIS2
- Loading branch information
1 parent
4d9456f
commit 0b56885
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# DHIS2 Mediator | ||
This mediator is intended to send api request to dhis2 server | ||
|
||
# Private Configurations | ||
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. | ||
|
||
# Installation | ||
|
||
|
||
# Running in Localhost | ||
|
||
To run the mediator without connecting it to the OpenHIM server, you can use the following commands if you have `Node.js` installed: | ||
|
||
1. `cd dhis2-mediator` | ||
|
||
2. `npm install` | ||
|
||
3. `npm start` | ||
|
||
# Running in Docker | ||
|
||
The mediator can be built and run using the `docker-compose.yml` file configurations. | ||
|
||
1. Navigate to `dhis2-mediator` folder where the `docker-compose.yml` is. | ||
|
||
2. `docker-compose build` | ||
|
||
3. `docker-compose up -d` | ||
|
||
4. `docker network create openHIM` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters