This project was requested by Petz as a challenge.
Please take a look at the list below as you need to make sure to have those installed in you environment before run the commands:
- Java 8 or superior
- Apache Maven 3.6.3 or superior
To get this project running first you must clone this repository and run the following commands in order:
- Clone this repo
- Add the database url, databse and password sent by email on the file src/main/resources/application-prod.properties
spring.datasource.url=aUrlEnviadaPorEmail
spring.datasource.username=oUsuarioEnviadoPorEmail
spring.datasource.password=aSenhaEnviadaPorEmail
- Build the application
mvn clean package spring-boot:repackage -DskipTests
- Run the .jar file commands
java -jar target/desafio-petz-1.0.-SNAPSHOT.jar