Skip to content

Fir3eye/springboot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-demo Implementation

Result

image

1. Run in the Local

Requirement

Installing Java 17:

sudo apt update
sudo apt install openjdk-17-jdk

Installing Maven:

sudo apt update
sudo apt install maven

Clean and Install the Project:

mvn clean install

Compile the Project:

mvn compile

Build the Project:

mvn package

Run the Application: Or, navigate to the target directory and run the packaged JAR file:

cd target
java -jar sendevops-0.0.1-SNAPSHOT.jar

Build Issues: If the build fails, run Maven with detailed logging to diagnose the problem:

mvn clean install -X

2. Run in Docker

Building and Running the Docker Image

    docker build -t sendevops:latest .

Run the Docker Container:

    docker run -p 8080:8080 sendevops:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published