Cleaning up with Cloud Foundry is simple.
# delete the app and the route
cf delete -f -r first-push
# delete the database instance
cf delete-service -f first-push-db
Congratulations! You just:
cf push
.cf marketplace
and cf create-service
) and bound it to your application using cf bind-service
.cf scale
.