Wiki Spaces


Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack


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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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. In cartridge's repo:
    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.

  • No labels