Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An easy option for OpenShift deployment especially useful for demos is For those looking to deploy OpenMRS on OpenShift, using a quickstart cartridge , which allows to get started with OpenMRS in literally is an efficient option, especially for demo purposes. This method allows you to get OpenMRS up and running in just a few minutes.

Step-by-

...

Step Guide

1. Add a DIY Cartridge

Start by adding a DIY cartridge to your OpenShift project. This will serve as the base for your OpenMRS installation.

2. Add MySQL Cartridge

Next, you need to add a MySQL cartridge to the previously created

...

DIY cartridge. You can do this through the OpenShift console:

  • Navigate to Cartridge ->

...

  • Databases -> Add MySQL

...

  • .

3. Prepare

...

to Change the Cartridge

You’ll now need to clone the repository of your cartridge to make the necessary modifications.

  • Clone the Repository:

    Code Block
    languagebash
    git clone ssh://$OPENSHIFT_APP_UUID@$OPENSHIFT_APP_DNS/~/git/openmrs.git/

...

  • Navigate to the

...

  • Cloned Directory:

    Code Block
    languagebash
    cd openmrs/

4. Deploy

...

the Quickstart Cartridge

To set up OpenMRS, you need to deploy the quickstart cartridge. Follow these steps:

  • Add the Quickstart Repository as an Upstream Remote:

    Code Block
    languagebash
    git remote add upstream -m master git@github.com:ixWDE4eR/openshift-openmrs-quickstart.git
  • Merge the Quickstart Repository:

    Code Block
    languagebash
    git pull -s recursive -X theirs upstream master
  • Push the Changes:

    Code Block
    languagebash
    git push

5. Restart the Cartridge

After deploying the quickstart cartridge, restart the cartridge to apply the changes.

6.

...

Configure OpenMRS via Browser

Finally, proceed to the high-level

...

configuration of OpenMRS through your web browser.

Panel
panelIconIdatlassian-warning
panelIcon:warning:
bgColor#FFF0B3

Do not select 'Simple' as the type of installation, as it assumes

...

access to MySQL root

...

credentials and other settings that may not be suitable for this deployment.

Filter by label (Content by label)
showLabelsfalse
max5
spacesdocs
showSpacefalse
sortmodified

...

...

reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "docs"
labelskb-how-to-article