Setting up a SEARCH Vagrant Box

WARNING

This page has been Archived, and is obsolete. It is available on the Bahmni wiki only for reference and historical purposes.

Instead of deleting a page, we prefer to "archive" it, so that it is still available to people who have bookmarked the page.

 

To setup a fresh SEARCH Vagrant Box perform the following steps: 

 

  1. The VagrantFile is already located in the search-config folder. You can see its contents here: Github Link
  2. Download the "Search_Vagrant_Centos.box" box from TeamShares/Bahmni Project/VMs into the search-config folder.
  3. Execute command vagrant up.
  4. This should add a base box with the name "search-vagrant-box" (you can see this by firing 'vagrant box list' command).
  5. You may get an error when this box comes up. For that perform a "vagrant ssh" and delete the file "/etc/udev/rules.d/70-persistent-net.rules".
  6. Perform a "vagrant halt" and "vagrant up" to reload the vagrant.
  7. You should now be able to go to /Project folder as usual.
  8. Note: The tomcat user is now "bahmni". 
  9. To deploy a new build, use the "deploy-implementation" manifest.
  10. You no longer need the "Search_Vagrant_Centos.box" file. You can delete that if you want.

 

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)