gophergala2016/playground-plus

Name: playground-plus

Owner: gophergala2016

Description: null

Created: 2016-01-23 04:19:52.0

Updated: 2016-01-23 04:30:26.0

Pushed: 2016-01-23 04:30:24.0

Homepage: null

Size: 49

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

playground

This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/

building
ild the sandbox image
er build -t sandbox sandbox/
running
n the sandbox
er run -d -p 8080:8080 sandbox
t docker host ip, try boot2docker fallback on localhost.
ER_HOST_IP=$(boot2docker ip || echo localhost)
n go some code
/path/to/code.go | go run ./sandbox/client.go | curl --data @- $DOCKER_HOST_IP:8080/compile

To submit changes to this repository, see http://golang.org/doc/contribute.html.

deployment

managed-vms
ud preview app run app/app.yaml
ud preview app run sandbox/app.yaml

ud config set project golang-org
ud preview app deploy app/app.yaml --version play
ud preview app deploy sandbox/app.yaml --set-default
kubernetes
ndbox
er push golang/playground-sandbox
ud preview container replicationcontrollers create --config sandbox/kubernetes/controller.yaml
ud preview container services create --config sandbox/kubernetes/service.yaml
container-vm
ndbox
er push golang/playground-sandbox
ud compute instances create playground-sandbox-vm --image container-vm --metadata-from-file google-container-manifest=sandbox/container-vm.yaml

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.