Skip to content

Commit

Permalink
Merge pull request #36 from udsm-dhis2-lab/mdachi-codes-patch-1
Browse files Browse the repository at this point in the history
Mdachi codes patch 1
  • Loading branch information
mdachi-codes authored Jun 7, 2022
2 parents 9169b9d + 0fc1796 commit 10785aa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,28 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac
## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).


## How the app works:
The app allows transfer of namespaces between two dhis2 instances, both installed with the datastore import/export app. A file containing the data in json format from one instance is imported into the second instance for creation of new namespaces and updating existing namespaces.

![alt text](https://github.com/udsm-dhis2-lab/datastore-import-export-app/blob/develop/src/assets/process-diagram.png?raw=true)

## Ways to export.
One way is to check desired namespaces on the left most column. Once one or more namespaces are checked. An export button will become active and once clicked a file will be downloaded.
Another way is to click on the namespace on the left column. On the middle column above the list of keys an export button will be visible. Click on the button to download a json file with the namespace.
To import the file click on the import button on the left most column above the list of namespaces. Select the file that exported another instance then import it to your instance.

![alt text](https://github.com/udsm-dhis2-lab/datastore-import-export-app/blob/develop/src/assets/export-shot.png?raw=true)

Figure 1: Exporting a namespace


![alt text](https://github.com/udsm-dhis2-lab/datastore-import-export-app/blob/develop/src/assets/import-shot.png?raw=true)

Figure 2: Importing namespaces from a file exported from another instance

## Results:
The Datastore import/export application has been used in implementation of Bottleneck Analysis, Scorecard, and customized program dashboard configurations in national HMIS, Multi-Sectoral Nutrition Information System and District Case Monitoring System in Tanzania during migration of metadata configurations from development/training instance to the live systems.


0 comments on commit 10785aa

Please sign in to comment.