Hosts the reports web application for the Bahmni project
-
Clone or download this repository.
-
Run
mvn clean install -DskipTeststo build it -
Deploy the WAR file in
target/bahmnireports.war
-
Run
scripts/create_configuration.shto create the properties file required to run integration tests. The file created at$HOME/.bahmni-reports/bahmni-reports-test.propertiescomes with default values. -
Install MySQL client and server in your machine. If you already have a MySQL server available make sure that the user has the privileges to dump the database.
-
Change
openmrs.urlin the properties file to set the host and port of the MySQL server. -
Change
openmrs.usernameto set the database user. -
Change
openmrs.passwordto set the database user password -
Run
mvn clean install -DskipDump=falseto build your changes and run integration tests. If you are using an IDE you can directly run a specific integration test.