Skip to content

Order Quality Tool and Dashboard, to connect to DHIS2 data

Notifications You must be signed in to change notification settings

CHAIUganda/OrderQualityTool

Repository files navigation

OrderQualityTool

Order Quality Tool and Dashboard, to connect to DHIS2 data

CircleCI

Developer Setup

  • 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
    

DEPLOYMENT

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

Docker

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.