Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (14 loc) · 1.18 KB

Bahmni Reports

Hosts the reports web application for the Bahmni project

Build Status

Installing the application

  1. Clone or download this repository.

  2. Run mvn clean install -DskipTests to build it

  3. Deploy the WAR file in target/bahmnireports.war

For developers : How to run integration tests

  1. 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.

  2. 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.

  3. Change openmrs.url in the properties file to set the host and port of the MySQL server.

  4. Change openmrs.username to set the database user.

  5. Change openmrs.password to set the database user password

  6. 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.