Building services and components
Each component comes bundled with its scripts for build.
- service/servers - are built using gradle. Running the following command will create a RPM file.
./gradlew clean dist
Note the services/servers built this way, will be packaged with the default configuration properties (<project root>/env/local.properties) which are set as process environment variables.
- modules - OpenMRS modules are built using "maven"
mvn clean install
This will create a <name>.omod file.
We use ansible to provision, deploy & configuration. This would be your preferred way of provisioning and deploying and customizing configurations into test or production environments.
There are 2 repositories for all the plays.
- FreeSHR-Playbooks - this has all the ansible scripts for all HIE components
- FreeSHR-Bahmni-Playbooks - this has the scripts for interface modules for Bahmni, the reference application integrated with SHR.
Â
Most components come with submodules (if any) which are required by them.
For any clarification or details, please sign up and send an email to sharedhealth@googlegroups.com.