PCF Dev is the simplest way to get a complete Cloud Foundry on a single machine.
Clone
git clone https://github.com/humbertodias/cloud-foundry-dev.git
Inside the folder
cd cloud-foundry-dev
Unzip and Run it for your platform
unzip pcfdev-v0.24.0+PCF1.9.0-osx.zip && ./pcfdev-v0.24.0+PCF1.9.0-osx && cf dev start
or
unzip pcfdev-v0.24.0+PCF1.9.0-linux.zip && ./pcfdev-v0.24.0+PCF1.9.0-linux && cf dev start
or
unzip pcfdev-v0.24.0+PCF1.9.0-windows.zip && pcfdev-v0.24.0+PCF1.9.0-windows.exe && cf dev start
Finally, access your Pivotal User profile to take the API Token
https://network.pivotal.io/users/dashboard/edit-profile
API Token
Starting VM...
Provisioning VM...
Waiting for services to start...
9 out of 53 running
9 out of 53 running
9 out of 53 running
43 out of 53 running
53 out of 53 running
_______ _______ _______ ______ _______ __ __
| || || | | | | || | | |
| _ || || ___| | _ || ___|| |_| |
| |_| || || |___ | | | || |___ | |
| ___|| _|| ___| | |_| || ___|| |
| | | |_ | | | || |___ | |
|___| |_______||___| |______| |_______| |___|
is now running.
To begin using PCF Dev, please run:
cf login -a https://api.local.pcfdev.io --skip-ssl-validation
Apps Manager URL: https://local.pcfdev.io
Admin user => Email: admin / Password: admin
Regular user => Email: user / Password: pass
Acess on browser http://api.local.pcfdev.io/v2/info
SSH connection
ssh vcap@ssh.local.pcfdev.io
Use vcap as user and password.
SSH_USER=vcap
SSH_PASS=vcap
SSH_HOST=ssh.local.pcfdev.io
ssh $SSH_USER@$SSH_HOST
vcap@ssh.local.pcfdev.io's password:
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.19.0-69-generic x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Sun Oct 9 03:44:07 2016 from 192.168.11.1
vcap@agent-id-pcfdev-0:~$ uname -a
Linux agent-id-pcfdev-0 3.19.0-69-generic #77~14.04.1-Ubuntu SMP Tue Aug 30 01:29:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
https://apps-manager.local.pcfdev.io
User Account and Authentication
ADMIN=admin
ADMINPASSWD=admin-client-secret
# localhost deployed UAA
UAAHOST=https://uaa.local.pcfdev.io
# targeting UAA server
uaac target $UAAHOST --skip-ssl-validation
# authenticating with admin
uaac token client get $ADMIN -s $ADMINPASSWD
Target: https://uaa.local.pcfdev.io
Context: admin, from client admin
Successfully fetched token via client credentials grant.
Target: https://uaa.local.pcfdev.io
Context: admin, from client admin
-
PCF-Dev Doc
-
PCF-Dev Download
-
Cloud Foundry Command Line Interface


