Should I directly copy paste this command? To which module does this path - api/src/main/resources belong to?
cd into the directory for the mirebalais module. Then run the deploy command (or openmrs-module-mirebalais/pihemrDeploy.sh which runs the deploy with the correct parameters).
It’s throwing the following error on browser: https://pastebin.com/aqD2YC1S and server side logs are: https://pastebin.com/Y7RZ9gNE
It’s not finding the mirebalais config json file, but you wrote that you did this step:
- Cloned git clone https://github.com/PIH/mirebalais-puppet.git in a folder on desktop
It’s looking for this file:
-
Cloned https://github.com/PIH/mirebalais-puppet.git and https://github.com/PIH/openmrs-module-mirebalais to a folder on desktop
-
Executed mvn openmrs-sdk:setup -DserverId=PIHServer3 -Ddistro=org.openmrs.module:mirebalais:1.2-SNAPSHOT with following configuration Port: 8080 (default), Database: Mysql 5.6, Database uri : ‘jdbc:mysql://localhost:3306/@DBNAME@’ (default), JDK :jdk1.8.0_201
-
Executed mvn openmrs-sdk:deploy -DserverId=pihServer -Ddistro=api/src/main/resources/openmrs-distro.properties
-
Executed mvn openmrs-sdk:run -DserverId=PIHServer3
-
Installed the database by going to http://localhost:8080/openmrs
-
Added pih.config=mirebalais,mirebalais-humci and pih.config.dir= C:\Users\hp\Desktop\Reports new\mirebalais-puppet\mirebalais-modules\openmrs\files\config to openmrs-runtime.properties files in C:\Users\hp\openmrs\PIHServer3
-
Executed the command : mvn openmrs-sdk:run -DserverId=PIHServer3
Doing this is throwing the following error on browser: https://pastebin.com/SbbSYE2g
It’s not finding the puppet config files (see my previous comment). Is it’s something about Windows and file paths causing problems? Front slash vs back slash? (/ vs ). I always use Ubuntu.
I checked the puppet config files, it has all the content as pointed out in the previous comment.