CloudFoundry部署之CF应用部署
一、hello官方测试应用部署
sudo gem install rb-readline
sudo gem install cf
cf target api.acp.local
cf login admin
密码c1oudc0w或者是admin记不太清楚了
cf create-org zhaozhenyang
cf create-space workspace
登陆到自己的space
cf switch-space workspace
sudo mkdir -p ~/workspace
sudo chmod 777 -R ~/workspace
cd ~/workspace
git clone https://github.com/Altoros/cf-vagrant-installer.git
cd cf-vagrant-installer/test/fixtures/apps/sinatra
vi manifest.yml
修改domian的值为acp.local
cf push
浏览器:https://hello.acp.local
curl hello.cf.local