How to uninstall and reinstall bahmni

How to uninstall and reinstall bahmni when you have made some changes in coding and openmrs It will help you to restore bahmni software as a standard installation. Below are the instructions.

To uninstall bahmni use command

         yum -y  remove bahmni*         (It will uninstalled the bahmni software)

once it is uninstalled you can check the MySQL-python if you want not necessary.

     yum list installed | grep MySQL


          yum  install 70.noarch.rpm`

Now you can go to : /opt/bahmni-installer/bahmni-playbooks/local

Choose what things you want to install. For example: [bahmni-emr] localhost

Now use this command to install bahmni again.

    bahmni -i local install