Host: https://pismo-clg.herokuapp.com/
Travis
-
Ensure you have
java
installed - goto https://www.oracle.com/java/technologies/javase-jdk11-downloads.html to download installer for your OS.
maven
installed - goto https://maven.apache.org/download.cgi to download latest version of maven. -
Clone this repository to your local filesystem (default branch is 'master')
-
To download the dependencies
mvn install
-
To run the application, run the following command on the project root folder
mvn spring-boot:run
For production you need to provide to enviroment variables:
DATABASE_URL
: Url for ProstgreSQL Database
With this you need just run the following commands:
-
mvn install
-
java -jar target/*.jar
and the aplication will start in port 8080. Opitionaly you can use a specific port:
java -jar target/*.jar --server.port=$PORT
docker pull gmonteiro/pismo-challege:latest
or run in root directory:
docker-compose up -d
You just need to run the following command:
mvn test