Versions Compared

Key

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

Setup local environment

 

Prerequisites

  1. Git
  2. Vagrant and VirtualBox
  3. JDK 7
  4. Ansible
  5. Maven

    Info

    Before Running vagrant up, check the Vagrantfile and create the required artifacts

...

  1. .

    The ansible scripts are for CentOS x64, 6.5 and 6.6 versions.

     

Setup MCI in local machine

  1. git clone --recursive https://github.com/SharedHealth/Bahmni-Server.git
  2. cd Bahmni_Server/bd_config
  3. scripts/package.sh
  4. cd ..
  5. vagrant box add path_to_prefered_box_name/prefered_box_name
  6. vagrant up
  7. then follow Manual steps after new bahmni installation to setup address hierarchy
  1. For MCI-Service, follow the instructions in repository readme.md file
  2. For MCI admin, follow the instructions in readme.md. (TODO)

Steps to setup Terminology server in local machine

  1. git clone https://github.com/SharedHealth/Terminology-Server.git
  2. cd Terminology-Server
  3. ./gradlew dist
  4. vagrant up
  5. go to http://192.168.33.17:9080/openmrs/index.htm?noredirect=true and follow the instructions 
  6. We need to enter the following information while following the instructions

    select : advanced

    database : terminologies
    db user : root
    db password : password
    login user : admin
    login password : Admin123

    7. download following omods and upload

http://172.18.46.51:8153/go/tab/build/detail/AtomFeedOmod/3/Build/1/Build
https://modules.openmrs.org/modulus/api/releases/865/download/webservices.rest-2.4.8f73fb.omod

Setup MCI in local machine

  1. git clone https://github.com/SharedHealth/MCI-Resigtry.git
  2. cd MCI-Registry
  3. vagrant up
  4. edit env/local.properties to set CASSANDRA_HOST=192.168.33.19 & MUTAGEN_SEEDS=192.168.33.19:9160 (make sure to change it back to localhost before committing)
  5. ./gradlew dist
  6. ./gradlew runMCI

...

  1. git clone https://github.com/SharedHealth/FreeSHR.git
  2. vagrant upfollow instructions in the readme

Setup SHR

  1. For SHR Service, please follow the instructions in the readme.md file of the FreeSHR repository