I have set up openmrs-sdk and trying to run a reference application through sdk (I haven’t built/installed any module separately by my own). My approach was something like this -
mvn openmrs-sdk:setup -DserverId=1 -Ddistro=referenceapplication:2.10.0
note that I also have database set up.
This command creates a directory
openmrs/1 where I can see openmrs-2.3.0.war file and .omod files in a subdirectory named module. When I try to run the server,
mvn openmrs-sdk:run -DserverId=1
the server loads an empty page and on terminal shows warning -
WARN - OpenmrsUtil.getRuntimeProperties(2039) |2020-04-15 16:56:05,696| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard.
What am I doing wrong here? Do I need to clone and build all the modules separately and then I can run the application? Is there any simple way to do all that with few commands?