Presentation is loading. Please wait.

Presentation is loading. Please wait.

Setting up the OpenHIM. Components Core - https://github.com/jembi/openhimhttps://github.com/jembi/openhim Mediators – e.g. OpenEMPI adapter https://github.com/jembi/openhim-openempi-

Similar presentations


Presentation on theme: "Setting up the OpenHIM. Components Core - https://github.com/jembi/openhimhttps://github.com/jembi/openhim Mediators – e.g. OpenEMPI adapter https://github.com/jembi/openhim-openempi-"— Presentation transcript:

1 Setting up the OpenHIM

2 Components Core - https://github.com/jembi/openhimhttps://github.com/jembi/openhim Mediators – e.g. OpenEMPI adapter https://github.com/jembi/openhim-openempi- patient-adapter https://github.com/jembi/openhim-openempi- patient-adapter Error Management UI - https://github.com/jembi/openhim-webui https://github.com/jembi/openhim-webui

3 Installing Core Install git – sudo apt-get install git Checkout the core project git clone https://github.com/jembi/openhim.githttps://github.com/jembi/openhim.git Setup maven in eclipse – m2e Help -> Install new software… http://download.eclipse.org/technology/m2e/releas es http://download.eclipse.org/technology/m2e/releas es Uncheck the slf4j component, it’s not needed Import existing maven project into Mule Studio File -> Import… -> Maven > Existing maven projects

4 Maven It may take a while to download all the maven dependencies required We’ve provided an.m2 repository with all the required dependencies Get the file m2.zip from the flash stick unzip m2.zip mv m2 ~/.m2

5 We will use puppet to setup all the dependencies Create a folder puppet_setup cp {workspace}/openhim/infrastructure/env/* puppet_setup/ cp {workspace}/openhim/src/main/resources/*.sql puppet_setup/ cp {workspace}/openhim/src/main/resources/ldap-auth- pre-prod.ldif puppet_setup/ sudo apt-get install puppet cd /etc/puppet/modules sudo unzip {somewhere}/puppet_setup/openldap.zip cd {somewhere}/puppet_setup Edit the file openhim.pp and remove the Mule ESB section (optional) Change the mysql password Change the source_dir variable to point to puppet_setup sudo puppet apply openhim.pp Alternatively you can install mysql and openldap manually

6 Building the OpenHIM Build the project using Maven: Right click on the project and select Run as -> Maven Install To run the app Right click on the project and select Run as -> Mule Application


Download ppt "Setting up the OpenHIM. Components Core - https://github.com/jembi/openhimhttps://github.com/jembi/openhim Mediators – e.g. OpenEMPI adapter https://github.com/jembi/openhim-openempi-"

Similar presentations


Ads by Google