Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

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

Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Configure ~/.ssh/config (needed for deployment script to perform command line tasks on AWS instance)
    Host ec2-50-112-42-202.us-west-2.compute.amazonaws.com
    Hostname ec2-50-112-42-202.us-west-2.compute.amazonaws.com
    User ec2-user
    IdentityFile "path/to/openmrs-infrastructure-us_west.pem"
    Host ec2-54-245-143-28.us-west-2.compute.amazonaws.com
    Hostname ec2-54-245-143-28.us-west-2.compute.amazonaws.com
    User ec2-user
    IdentityFile "path/to/openmrs-infrastructure-us_west.pem"
    Host ec2-54-245-1-154.us-west-2.compute.amazonaws.com
    Hostname ec2-54-245-1-154.us-west-2.compute.amazonaws.com
    User ec2-user
    IdentityFile "path/to/openmrs-infrastructure-us_west.pem"Prepare the omods
    1. Compile omods
    2. Prepare folders to be similar to CI setup
      cd vagrant-OpenMRS/code/
      rm -rf buildTools
      rm -rf cpm
      cp -rf configuration-master buildTools
      cp -rf openmrs-cpm cpm
      mkdir -p buildTools/omod/libs/

    3. Copy omods to folder that CI setup expects
      cp openmrs-cpm/conceptpropose/build/libs/*.omod buildTools/omod/libs/
      cp openmrs-cpm/conceptreview/build/libs/*.omod buildTools/omod/libs/
  2. Deploy!

    cd vagrant-OpenMRS/code/buildTools
    ./go node:deploy_omod[ec2-54-245-143-28.us-west-2.compute.amazonaws.com]

    (or whatever command is listed in Go)

...