Example Fujitsu K5 Cloud Foundry commands & Apps
Follow the installation instructions here
cf api <Insert CF API URL>
cf login -a api.uk-1.paas-cf.cloud.global.fujitsu.com -u paastrainingXX@YssmW1yI -p PASS -s PaaS_Training
cf login -u USERNAME@ORGNAME -p PASSWORD -o ORGNAME -s SPACENAME
cf apps
From within the app directory execute:
cf push APPNAME
Alternatively, an application zip file can be used and additional parameters specified:
cf push APPNAME -b php_buildpack –p CMSimple_4-6-3.zip -m 256mb
cf logs APPNAME
By default the logs will be tailed. add --recent
to pull the latest logs and exit.
cf app APPNAME
cf env APPNAME
cf scale APPNAME –i 5
cf scale APPNAME –i 1
cf delete APPNAME –f
cf buildpacks
Do note that community/external buildpacks can be specified using the -b
flag even if they are not listed above.