Try PCF on your Local Workstation with PCF Dev
A tutorial for learning Pivotal Cloud Foundry app development concepts with PCF Dev
Deploy the Sample App
Now that the PCF Dev virtual machine is running on your workstation, you are really close to deploying the sample Java app.
This sample app is built with Spring Framework and helps demonstrate the use of database services on PCF.
Download the app with git:
git clone https://github.com/cloudfoundry-samples/spring-music
If you don't have Git installed, you can download a zip file of the app at github.com/cloudfoundry-samples/spring-music/archive/master.zip
Navigate to the app directory:
Log in to PCF Dev:
cf login -a api.local.pcfdev.io --skip-ssl-validation API endpoint: api.local.pcfdev.io Email> user Password> pass
Use Gradle to assemble the app locally:
Push the app:
cf push --hostname spring-music
Open the sample app in your browser:
requested state: started instances: 1/1 usage: 512M x 1 instances urls: spring-music.local.pcfdev.io