Skip to content

Data Quality App by WHO

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

dhis2/who-data-quality-app

WHO Data Quality Tool

Build Status

License

© Copyright 2017 the World Health Organization (WHO). This software is distributed under the terms of the GNU General Public License version 3 (GPL Version 3), copied verbatim in the file “COPYING”. In applying this license, WHO does not waive any of the privileges and immunities enjoyed by WHO under national or international law or submit to any national court jurisdiction.

Getting started

Install dependencies

To install app dependencies:

npm install

Compile to zip

To compile the app to a .zip file:

npm run zip

Start dev server

To start the webpack development server:

npm start

By default, webpack will start on port 8081, and assumes DHIS2 is running on http://localhost:8080/dhis with admin:district as the user and password.

A different DHIS2 instance can be used to develop against by setting the DHIS2_HOME environmental variable (e.g. export DHIS2_HOME=/Users/Olav/dhis2/dq_d2home). Inside the folder DHIS2_HOME points to, create a file config with the url and base64-encoded username:password like this:

exports.baseUrl = 'http://localhost:8090/dqdev';
exports.authorization = 'Basic YWRtaW46ZGlzdHJpY3QK='; //Based64 encoded