commit | 868648124bffb8d69062a19d08efa6b716d9ecc2 | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Mon Mar 09 14:10:55 2015 +1100 |
committer | Andrew Gerrand <adg@golang.org> | Mon Mar 09 04:33:11 2015 +0000 |
tree | b66b93d7266e1183577a1f1639837b7c6bf5747b | |
parent | 1f0b0af37e61992fa2c325d0315620d1d560052a [diff] |
sandbox: update to Go 1.4.2, pull tour sources from new location Change-Id: I8b77d4d0733a8aaf3022e7abe8b0c728b2fcaa7d Reviewed-on: https://go-review.googlesource.com/7171 Reviewed-by: Minux Ma <minux@golang.org>
This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/
# build the sandbox image docker build -t sandbox sandbox/
# run the sandbox docker run -d -p 8080:8080 sandbox # get docker host ip, try boot2docker fallback on localhost. DOCKER_HOST_IP=$(boot2docker ip || echo localhost) # run go some code cat /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.
boot2docker shellinit gcloud preview app setup-managed-vms gcloud preview app run app/ sandbox/ gcloud preview app deploy app/ sandbox/
# sandbox docker push golang/playground-sandbox gcloud preview container replicationcontrollers create --config sandbox/kubernetes/controller.yaml gcloud preview container services create --config sandbox/kubernetes/service.yaml
# sandbox docker push golang/playground-sandbox gcloud compute instances create playground-sandbox-vm --image container-vm --metadata-from-file google-container-manifest=sandbox/container-vm.yaml