Deploying your first app onto cf using the cf CLI
We discussed buildpacks and services. We instantiated a service to use, but we need to bind it to an application that is deployed on Cloud Foundry first in order to use it. This section will now show you how to deploy the application. For demonstration purposes, this section will use the Hello Spring Cloud sample application. The Hello Spring Cloud is a simple Java web API application that uses the Spring Cloud Connectors library in order to inspect the bounded services and display their connection status.
To deploy our first sample application, do the following steps:
- This project requires Maven, a tool for building and managing Java projects. If not done so already, download Maven from: https://maven.apache.org and follow the installation instructions on the site.
- Download or git clone the Hello Spring Cloud repository at https://github.com/Cloud-Foundry-For-Developers/hello-spring-cloud.git.
- If the sample application was downloaded, extract...