A simple web application with Spring Boot.
As craftsmen we love crafting software on a clean workbench.
We believe that a clean workbench helps us focus on what really matters: handcrafting every design and code with great care.
Vagrant helps us create such a workbench and install the prerequisites, and nothing more.
As a benefit, we keep our workbench as clean as possible over time.
Vagrant must be installed on your computer to mount the workbench for this project.
Open a Terminal and run the following commands:
vagrant up
vagrant ssh
cd /vagrantThe build command creates a standalone JAR file.
mvn clean packageTo launch the application use the following command:
java -jar target/hello-world-spring-boot-0.6.2-SNAPSHOT.jarTo run the service use the following command:
curl http://localhost:8080/greeting?name=OdaceoTo check the application's health use the following command:
curl http://localhost:9090/healthStep-by-step instructions for releasing the application:
-
Start a new release
git flow release start 0.6.2 -
Bump the version number
mvn versions:set -DnewVersion=0.6.2 -
Update the bintray.json with the new version
-
Update the documentation
-
Commit pending changes
git commit -am "Bump the version number" -
Finish the release
git flow release finish -m "Release 0.6.2" 0.6.2 -
Bump the version number of the develop branch
mvn versions:set -DnewVersion=0.7.0-SNAPSHOT -
Commit pending changes
git commit -am "Bump the version number"
Make sure all artifacts have been successfully uploaded to Bintray.
Issues can be reported at https://github.com/odaceo/lab-hello-world-spring-boot/issues
The source code is available at https://github.com/odaceo/lab-hello-world-spring-boot
All the source code is distributed under ASL 2.0.
© 2015 Odaceo. All rights reserved.