I have developed a dhis2 web app using d2. Now i want to build and deploy it in the app hub in my local instance. I am looking for procedures to implement this process. Thank you.
Welcome back to the community. Good news! You can easily test the app in a local instance by following the instructions on this page: Creating a DHIS2 Web app | DHIS2 Developer Portal
Thanks!
Thank you for the feedback.
But what I’m looking for is to compile it so that I can upload it to the app hub or manual installation in my instance.
Hi @BernardMasache, great to hear you want to submit to the App Hub!
You can find a lot of resources here about that, does that answer your question?
Once submitted, let me know and I’ll make sure to review it quickly! And if you have any further questions, let me know as well!
yes, i follow the document, and will let you know.
Hi @BernardMasache
First open the new terminal and then type the command “npm run build” if you are using npm as package manager or run the command “yarn run build” if you are using yarn as a package manager.
It will give you the final build, simply upload that build in App Hub of your DHIS-2 Instance.
you can find the final build in the build/bundle directory.
Thanks