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

Add the steps involved:

  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
    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.

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.