Next steps after setting up openmrs-core

Hello everyone,

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,

  1. Do I install the legacy UI or the reference-application addons?

  2. 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.

System Information

  • 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:

1 Like

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.

1 Like

I’m not quite able to follow, after compiling the, where should I look for the file?

Under omod/target

1 Like

Thank you @dkayiwa I am now able to access the home page, I was looking for the omod file under omod-2.x.x/target.

But what happens if I check out another branch of openmrs-core, do I need to update the modules and owa again or is the UI compatible across various versions of the openmrs-core?

P.S: Shouldn’t this step be present in the and Git Book as well, or is there a more efficient development workflow?

You have all the freedom to experiment. :slight_smile: