The goal of this project is to provide an easily accessible environment for users who want to experience Cloud Foundry, without having to setup and to learn the operation of the platform. CF Playground provides an interactive tutorial.
![CF Playground in Action](https://github.com/cloudfoundry-community/cfplayground/raw/master/images/cfplayground.jpg)
The following instruction is for OSX/Linux, windows support is coming soon. You will need to host your own Cloud Foundry environment (bosh-lite or any full deployment)
-
Ensure that Go version 1.2+ is installed on the system
-
Setup the GOPATH
export GOPATH=~/go export PATH=$GOPATH/bin:$PATH
-
Download CF PLayground
go get github.com/cloudfoundry-community/cfplayground cd $GOPATH/src/github.com/cloudfoundry-community/cfplayground
*(Ignore any warnings about "no buildable Go source files")
-
Create a config file
config.json
underconfig/
with the info of your Cloud Foundry environment, a sample config file is provided for referenceconfig/sameple_config.json
-
Run CF Playground
go run main.go
- If you are running CF Playground under Linux, download Linux CF CLI Binary, rename and replace the
pcf
file underassets/cf/
with the downloaded binary.
- No Windows support (coming soon)
- Arbitrary app pushing (work in progress)
- Temp user account/space clean up (work in progress)
- Restore user session (work in progress)
- The supported CF commands are:
- cf push
- cf apps
- cf app {app name}
- cf delete {app name}