Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Hello World sample project for Spring Boot on Cloud Foundry

License

Notifications You must be signed in to change notification settings

sample-accelerators/hello-world

Repository files navigation

hello-world

This repo provides a simple Hello World sample project for Spring Boot.

It can be deployed as a standalone web app, as a Cloud Foundy app or as a TAP workload, depending on the deployment option choosen when generating the project.

Deployment

Standalone app with embedded Tomcat server

You can build the project using Maven:

./mvnw clean package

To run the app using the embedded Tomcat server you can run this command:

./mvnw spring-boot:run

You can modify the default message "World" using an application property of app.message:

./mvnw package  
java -jar target/hello-world-0.0.1-SNAPSHOT.jar --app.message=Test

About

Hello World sample project for Spring Boot on Cloud Foundry

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages