Set up development environment

Hi

I am new to DHIS2 and I want to set up development environment to develop the custom application for DHIS2. Please guide on this issue.
Thank You!

2 Likes

Hi Sami,

Great question!

We’ve got this outlined for you at the Developer Portal! From there you can follow the flow where you want to go. Web app / Android App.

There’s also instructions how to run a backend yourself!

Hope this helps! Let me know if you have any other questions

2 Likes

should I follow this link and configure it using docker?

2 Likes

Yes it’s beneficial of running your own server locally using Docker for development purposes!

2 Likes

Hi
I installed docker and after that I run the command “yarn global add @dhis2/cli” . it was successfully executed but when I run “d2 cluster --help” it say ‘d2’ is not recognized as an internal or external command,

1 Like

Hi,

This seems to indicate it didn’t install correctly somehow. If you run yarn global list does it display?

1 Like

Hi,
I install it using npm and now it is working fine.
Thank you!

1 Like

3 posts were split to a new topic: D2 cluster error ENOENT

9 posts were split to a new topic: Unable to upload app to app hub