Skip to content

pradp/pcf-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PCF Demo

Pre-requisites

  1. "cf" CLI. If not Download
  2. Access to any PCF installation. It could be run.pivotal.io or local/inhouse PCF installation
  3. Credentials to access & developer role privilege to deploy applications

Commands

cf help 
cf login -a <api-target-url>
cf orgs
cf spaces
cf apps 
cf logs <app-name> --recent 
cf app <app-name> \
cf env <app-name>
cf push 
cf 
cf create-service p-mysql  pre-existing-plan <service-name> 
cf bind-service <app-name> <service-name>
cf restage <app-name>
cf create-user-provided-service oracle-db -p '{"uri":"oracle://root:[email protected]:1521/mydatabase"}'
cf create-user-provided-service mysql-db -p '{"uri":"mysql://root:[email protected]:3306/mydatabase"}'
cd C:\Program Files\MariaDB 10.1\bin 
mysqld.exe --datadir=..\data --console