CLI provides a set of commands that allows you to manage your applications, brokered services, spaces, domains, and other components on Cloud Foundry. Let me show you the most important commands you should know to be able to run your application on PWS:
- In order to deploy the application, you must first navigate to its directory. You should then sign in to PWS using the cf login command as follows:
$ cf login -a https://api.run.pivotal.io
- The next step is to push the application to PWS with the cf push command, passing the service's name:
$ cf push account-service -p target/account-service-1.0.0-SNAPSHOT.jar
- Alternatively, you can provide manifest.yml in the application's root directory with all the required deployment settings. ...