Web portal for CF, lets users try out CF with free temp account and interactive tutorials
JavaScript Go Ruby HTML CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with cloudfoundry-community:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
assets
cf
commands
config
copy
images
server
sweep
tutorials
ui
users
utils
websocket
.gitignore
README.md
main.go

README.md

CF Playground

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)

Setting up CF Playground

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)

  1. Ensure that Go version 1.2+ is installed on the system

  2. Setup the GOPATH

    export GOPATH=~/go export PATH=$GOPATH/bin:$PATH

  3. 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")

  1. Create a config file config.json under config/ with the info of your Cloud Foundry environment, a sample config file is provided for reference config/sameple_config.json

* if no config.json is found, boshlite_config.json will be used to target a local boshlite environment.

  1. 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 under assets/cf/ with the downloaded binary.

Limitation

  • No Windows support (coming soon)
  • Arbitrary app pushing (functioning, improvement to be made)
  • Temp user account/space clean up (work in progress)
  • Restore user session (functioning, improvement to be made)
  • The supported CF commands are:
    • cf push
    • cf apps
    • cf app {app name}
    • cf delete {app name}