Page tree
Skip to end of metadata
Go to start of metadata

An easy option for OpenShift deployment especially useful for demos is using a quickstart cartridge, which allows to get started with OpenMRS in literally few minutes.

Step-by-step guide

  1. Add a DIY cartridge.
  2. Add MySQL cartridge to the previously created one (OpenShift console -> cartridge -> Databases -> Add MySQL).
  3. Prepare to change the cartridge:
    1. Clone its repository: 
      1. git clone ssh://$OPENSHIFT_APP_UUID@$OPENSHIFT_APP_DNS/~/git/openmrs.git/
    2. Move to the resulting directory:

      1. cd openmrs/
  4. Deploy the QS cartridge:
    1. git remote add upstream -m master git@github.com:ixWDE4eR/openshift-openmrs-quickstart.git
    2. git pull -s recursive -X theirs upstream master
    3. git push
  5. Restart the cartridge.
  6. Proceed to high-level OpenMRS configuration via browser. You should not select 'Simple' as type of installation as it assumes having MySQL root, etc.