commit | 7a4f130a9efc93b77b31992ea3a01014f44c0986 | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Thu Jan 29 14:35:40 2015 +0000 |
committer | Andrew Gerrand <adg@golang.org> | Sat Feb 07 12:06:25 2015 +0000 |
tree | 67d7bb19f88049cc9aa89fe560727b0072a933fd | |
parent | 75d4ef8f853875fa0eaef7b291d03109290559ce [diff] |
sandbox: rewrite source file name to prog.go This is in keeping with what the original sandbox server did. Change-Id: I6b26b820c3a480c6d3bf7a5f6b3cade03beb487a Reviewed-on: https://go-review.googlesource.com/3502 Reviewed-by: Andrew Gerrand <adg@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