标签:
PCF是一个PAAS平台
https://account.run.pivotal.io/sign-up
访问 https://console.run.pivotal.io/tools 或 https://github.com/cloudfoundry/cli 下载cf CLI
安装下载好的rpm包
# rpm -Uvh cf-cli-installer_6.17.0_x86-64.rpm
登陆PCF
# cf login -a api.run.pivotal.io -u <username>
发布应用到PCF(hostname不能用已被别人使用的名字)
# git clone https://github.com/cloudfoundry-samples/rails_sample_app # cd rails_sample_app # cf create-service elephantsql turtle rails-postgres // create a postgres database # cf push -n <hostname>
标签:
原文地址:http://www.cnblogs.com/edward2013/p/5441152.html