Last active
September 6, 2016 09:10
-
-
Save vinayvenu/6028f6c95c7b67c4765e4910c8c5ced2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
service bahmni-lab stop | |
service openmrs stop | |
psql -Upostgres -c "drop database clinlims;" | |
cd /opt/bahmni-lab/migrations && scripts/initDB.sh bahmni-base.dump | |
cd /opt/bahmni-lab/migrations/liquibase/ && /opt/bahmni-lab/migrations/scripts/migrateDb.sh | |
service bahmni-lab start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment