HINT - HIV Indicators Tool
- openjdk 8
- Clone this repo
./scripts/run-development-dependencies.shto start docker instances of hint-db and hintr and add a test user with username
npm run buildfrom
src/app/staticto compile front-end dependencies.
- Run app from your IDE or by
cd src && ./gradlew :app:bootRunto serve the app on port 8080
For more information about developing the front-end see src/app/static/README
Ensure dependencies are running and then execute tests on the command line or through IntelliJ
./src/gradlew -p src app::test
If the database schema has changed, you can regenerate the database interface code (in /src/databaseInterface)
./src/gradlew -p src :generateDatabaseInterface:run while the database container is running.
A docker image containing the app is created by running
./scripts/build-app.sh. This is run as part of
the Travis build.
docker run -p 8080:8080 mrcide/hint:branch_name to run a built image.