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.
Each component repositories come bundled with README files, which tells you how to provision an environment. For local installations "vagrant provision" should do the job.
. 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.On production environment, we provision and deploy using ansible. The "FreeSHR-Playbook" has all the ansible scripts required.
For any clarification or details, please sign up and send an email to sharedhealth@googlegroups.com.