Skip to content

root360/simple-java-web-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(based on https://github.com/julianjupiter/java-web-app-with-embedded-tomcat)

Java Web Application with Embedded Tomcat

This is a simple web application in Java with Apache Tomcat and other dependencies embedded in a JAR. This is used as showcase for root360 deployments.

Running the application

git clone https://github.com/julianjupiter/java-web-app-with-embedded-tomcat
cd simple-java-web-app
mvn clean package && bash run.sh

Open your browser: http://localhost:8080/

Creating a Release

  1. build app
    git clone https://github.com/julianjupiter/java-web-app-with-embedded-tomcat
    cd simple-java-web-app
    bash release.sh target-version
    # e.g. bash release.sh v1.0.1
    
  2. upload generated jar file from target/ to Github Releases

Developing the application

This project used pre-commit to run some code checks on every commit.

  1. install pre-commit pip install pre-commit
  2. activate pre-commit pre-commit install
  3. commit your changes

About

Java Web Application with Embedded Tomcat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 92.4%
  • Shell 7.6%