https://developers.dhis2.org/guides/quickstart-app-development
Install Docker
https://docs.docker.com/get-docker/
Install yarn
npm install --global yarn
From the command line or terminal, install the DHIS CLI globally
yarn global add @dhis/cli
OR
npm install –global @dhis2/cli
From the terminal, start up DHIS2 and seed the database
d2 cluster up 2.35.0 –db-version 2.35 –port 8085
The Compose file ‘C:\Users\Anwar.cache\d2\cache\clusters\2.35.0\docker-compose\cluster\docker-compose.yml’ is invalid because:
services.gateway.ports contains an invalid type, it should be a number, or an object
C:\Users\Anwar.cache\d2\cache\clusters\2.35.0\docker-compose\cluster\docker-compose.yml
gateway:
image: “jwilder/nginx-proxy:alpine”
restart: always
ports:
- “8085:80”
Leave a Reply