/cfplayground

Web portal for CF, lets users try out CF with free temp account and interactive tutorials

Primary LanguageJavaScript

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

  2. 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 (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}