app: remove lesser fonts from font-family declarations

This recommends Menlo on systems that support them,
and falls back to monospace otherwise.

Fixes golang/go#14013

Change-Id: Iba44e9354012a99b14740d5a3ebdeb969f0daab4
Reviewed-on: https://go-review.googlesource.com/18713
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 file changed
tree: 4fa5b854faa1ce7d042f6484499dab40c0043bed
  1. app/
  2. sandbox/
  3. AUTHORS
  4. codereview.cfg
  5. CONTRIBUTING.md
  6. CONTRIBUTORS
  7. LICENSE
  8. PATENTS
  9. README
  10. README.md
README.md

playground

This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/

building

# build the sandbox image
docker build -t sandbox sandbox/

running

# 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.

deployment

managed-vms

gcloud preview app run app/app.yaml
gcloud preview app run sandbox/app.yaml

gcloud config set project golang-org
gcloud preview app deploy app/app.yaml --version play
gcloud preview app deploy sandbox/app.yaml --set-default

kubernetes

# 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

container-vm

# 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