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
And
yum install https://dl.bintray.com/bahmni/rpm/rpms/bahmni-installer-0.91- 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