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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/
ild the sandbox image
er build -t sandbox sandbox/
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.
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
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
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