Order Quality Tool and Dashboard, to connect to DHIS2 data
-
Make sure python is installed preferably with a virtualenv
-
Install the required python packages
$ pip install -r requirements.txt
-
Install the node packages
$ npm install
-
Install build ui files
$ npm run build
-
Run the python dev server
$ python manage.py runserver
-
Run the python unit tests
$ python manage.py test
The core technologies needed to run this project are:
- Python 3.9 and the project dependencies in the requirements file
- Gunicorn as an application server
- Nginx as a web server
- Celery as a background worker
- Postgresql as the database
- npm and bower to build the static assets
If you are using docker, this project has a Dockerfile and a docker-compose configuration as an example of how this application can be deployed.