Hosts the reports web application for the Bahmni project
-
Clone or download this repository.
-
Run
mvn clean install -DskipTests
to build it -
Deploy the WAR file in
target/bahmnireports.war
-
Run
scripts/create_configuration.sh
to create the properties file required to run integration tests. The file created at$HOME/.bahmni-reports/bahmni-reports-test.properties
comes 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.url
in the properties file to set the host and port of the MySQL server. -
Change
openmrs.username
to set the database user. -
Change
openmrs.password
to set the database user password -
Run
mvn clean install -DskipDump=false
to build your changes and run integration tests. If you are using an IDE you can directly run a specific integration test.