(based on https://github.com/julianjupiter/java-web-app-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.
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/
- 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
- upload generated jar file from target/ to Github Releases
This project used pre-commit to run some code checks on every commit.
- install pre-commit
pip install pre-commit
- activate pre-commit
pre-commit install
- commit your changes