Merge sandbox and frontend into one service

Since frontend was moved to the flex runtime, there is no longer
a reason to keep the two separate. Consolidate the two into one
service to reduce deployment complexity.

Change-Id: Ie64c17e1833ed94ac8bff7381963f683d824ca5d
Reviewed-on: https://go-review.googlesource.com/85456
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
34 files changed
tree: 5deeb4c2a4feabe5ef92b999bb78a2f6079345ec
  1. AUTHORS
  2. CONTRIBUTING.md
  3. CONTRIBUTORS
  4. Dockerfile
  5. LICENSE
  6. Makefile
  7. PATENTS
  8. README.md
  9. app.yaml
  10. client.go
  11. codereview.cfg
  12. edit.go
  13. edit.html
  14. enable-fake-time.patch
  15. fake_fs.lst
  16. fmt.go
  17. logger.go
  18. main.go
  19. play.go
  20. play_test.go
  21. sandbox.go
  22. server.go
  23. server_test.go
  24. share.go
  25. static/
  26. store.go
README.md

playground

This subrepository holds the source for the Go playground: https://play.golang.org/

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

Building

# build the image
docker build -t playground .

Running

docker run --rm -d -p 8080:8080 playground
# run go some code
cat /path/to/code.go | go run client.go | curl --data @- localhost:8080/compile

Deployment

gcloud --project=golang-org --account=person@example.com app deploy app.yaml

Contributing

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