Skip to content

eppifoss/dhis2-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

IN5320 - DHIS2 Installation

This repo contains a dockerfile to build DHIS2 setup container. Alternatively, you can also use the dockerhub to pull the premade container bypassing the build step.

Pull DHIS2 container image from docker hub

docker pull eppifoss/dhis2-in5320

Build the docker image

docker build -t <img_name> ./

Running the container

docker run --name <name_for_docker_instance>   -v <local_volume_absolute_path>:/usr/src/app -p 3000:3000 -p 9999:9999 -it <img_name> /bin/bash

Creating bash shell for running containers

docker exec -it <name_of_docker_instance> /bin/bash

Initialize your app

d2 app scripts init myfirstapp

Connecting to DHIS2 instance

The following command needs to be running on a seperate terminal along side yarn start

npx dhis-portal --target=https://verify.dhis2.org/in5320/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published