Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 870 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 870 Bytes

How to run this stuff

Install NodeJS https://nodejs.org/en/download/current/

Install the dependencies

npm install

Start the dev server that uses webpack (see details in the webpack.config.js)

npm start

Open the webserver in either Chrome or Firefox and point to

http://localhost:8082

For this to work properly you'll need a local version of DHIS2 (http://localhost:8080) or point the navigate to the demo or dev servers (https://play.dhis2.org/demo or https://play.dhis2.org/dev) If you want to run it against either of these you will need to set up the server to accept CORS requests from http://localhost:8081 You can do this by adding http://localhost:8082 to the CORS Whitelist in the System Settings App.

  • Open dhis2
  • Go to System Settings (from the menu)
  • Click the access tab
  • Add http://localhost:8082 to the CORS Whitelist