I’m in the process of setting up development for OpenMRS core. I’ve followed the instructions mentioned in Getting started as a developer and Git Book, I’m able to compile and run tests on the master branch of openmrs-core, successfully.
On navigating to http://localhost:8080/openmrs, I’m greeted with a message about installing the UI module. I’m not sure how to proceed from here and have a couple of questions,
Do I install the legacy UI or the reference-application addons?
I downloaded the reference application addon zip file and placed the modules in
%appdata%\Roaming\OpenMRS\modules\ directory and
SystemAdministration.owa file in
%appdata%\Roaming\OpenMRS\owa\, on restarting the jetty server I received this error.
- Java 1.8
- Maven 3.6.3
- OS: Windows
Thank you very much for your time.
Because you are using the snapshot version of the platform, use these addons: https://ci.openmrs.org/browse/REFAPP-OMODDISTRO-9570/artifact
Thanks for the quick response, I replaced the addons with the snapshot ones. I am able to view the login page, but after logging in I get a UI framework error.
Compile the snapshot version of the rest webservices module and replace the one that you have. https://github.com/openmrs/openmrs-module-webservices.rest
I’m not quite able to follow, after compiling the
openmrs-module-webservices.rest, where should I look for the
Thank you @dkayiwa I am now able to access the home page, I was looking for the omod file under
But what happens if I check out another branch of openmrs-core, do I need to update the
owa again or is the UI compatible across various versions of the openmrs-core?
P.S: Shouldn’t this step be present in the https://wiki.openmrs.org/display/docs/Step+by+Step+Installation+for+Developers and Git Book as well, or is there a more efficient development workflow?
You have all the freedom to experiment.