Cloud Bowl Sample – Kotlin Spring Boot

To make changes, edit the src/main/kotlin/hello/KotlinApplication.kt file.

Run Locally:

./mvnw spring-boot:run

Run on Google Cloud

Containerize & Run Locally:

export PROJECT_ID=YOUR_GCP_PROJECT_ID
pack build --builder=gcr.io/buildpacks/builder gcr.io/$PROJECT_ID/cloudbowl-samples-kotlin-springboot
docker run -it -ePORT=8080 -p8080:8080 gcr.io/$PROJECT_ID/cloudbowl-samples-kotlin-springboot

GitHub

View Github