зеркало из https://github.com/golang/playground.git
fa48acca51
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> |
||
---|---|---|
static | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
PATENTS | ||
README.md | ||
app.yaml | ||
client.go | ||
codereview.cfg | ||
edit.go | ||
edit.html | ||
enable-fake-time.patch | ||
fake_fs.lst | ||
fmt.go | ||
logger.go | ||
main.go | ||
play.go | ||
play_test.go | ||
sandbox.go | ||
server.go | ||
server_test.go | ||
share.go | ||
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.