Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dhis2/who-data-quality-app

Data Quality App by WHO
https://github.com/dhis2/who-data-quality-app

synced-settings tx web-app

Last synced: 10 days ago
JSON representation

Data Quality App by WHO

Awesome Lists containing this project

README

        

# WHO Data Quality Tool

[![Build Status](https://travis-ci.com/dhis2/data-quality-app-who.svg?branch=master)](https://travis-ci.com/dhis2/data-quality-app-who)

## 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
```