Demonstrate application instance scaling on Cloud Foundry with this simple (one Groovy file, one HTML file) Spring Boot CLI application!
-
Install the latest Spring Boot CLI.
-
Run:
$ spring run app.groovy
The application requires the latest version of the Java Buildpack, so we’ll use that from GitHub.
$ spring grab app.groovy $ cf push -m 512M -b https://github.com/cloudfoundry/java-buildpack cf-scale-boot