Setup local environment
Prerequisites
- Git
- Vagrant and VirtualBox
- JDK 7
- Ansible
Maven
Before Running vagrant up, check the Vagrantfile and create the required artifacts.
The ansible scripts are for CentOS x64, 6.5 and 6.6 versions.
Setup MCI in local machine
- For MCI-Service, follow the instructions in repository readme.md file
- For MCI admin, follow the instructions in readme.md. (TODO)
Steps to setup Terminology server in local machine
- git clone https://github.com/SharedHealth/Terminology-Server.git
- cd Terminology-Server
- ./gradlew dist
- vagrant up
- go to http://192.168.33.17:9080/openmrs/index.htm?noredirect=true and follow the instructions
We need to enter the following information while following the instructions
select : advanced
database : terminologies
set db user & password
set login user & password
7. download following omods and upload
Setup SHR
- For SHR Service, please follow the instructions in the readme.md file of the FreeSHR repository
Steps to setup Bahmni-Server in local machine
- git clone --recursive https://github.com/SharedHealth/Bahmni-Server.git
- cd Bahmni_Server/bd_config
- scripts/package.sh
- cd ..
- vagrant box add path_to_prefered_box_name/prefered_box_name
- vagrant up
- then follow Manual steps after new bahmni installation to setup address hierarchy
0 Comments