Skip to content

Execution

Jose Morales edited this page Jan 6, 2025 · 23 revisions

To Run

Make sure you have nodeJS dependencies:

cd ${PROJECT_HOME}/src/main/resources/static/assets/servizi-dog-theme
npm install

Then to run this project you need to execute this Gradle command:

./gradlew -Dspring.config.location=$HOME/.vetlog/application-development.yml -Dflyway.user=${username} -Dflyway.password=${password} bootRun

where:

  • ${username} is you MySQL vetlog database user
  • ${password} is you MySQL vetlog database password

To run tests

./gradlew -Dspring.config.location=$HOME/.vetlog/application-development.yml jacocoTestReport test

To run a specific test

./gradlew -Dspring.config.location=$HOME/.vetlog/application-development.yml test --tests ${testName}

where:

  • ${testName} is test name you want to run
Clone this wiki locally