Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 677 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 677 Bytes

Shared Travel API

Prerequisites

  1. Install Java 11
  2. Install Maven. You need to put both M2_HOME and MAVEN_HOME
  3. Install Lombok Plugin on your IDE of choice

Installing the project

  1. Clone the Gitlab repository
  2. Run ./mvnw compile

Running the project as a service

  1. Run ./mvnw clean spring-boot:run

Running the project as a container

  1. Run ./mvnw clean package to produce a .jar file
  2. Run docker build -t shared-travel-app . to build the container
  3. Run docker run -p 8080:8080 shared-travel-app to deploy the container