commit | 45a20b0d69ef2b06d2edfd97210a0df9ffd7f829 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Tue Mar 05 18:22:19 2019 -0500 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Thu Mar 07 18:39:40 2019 +0000 |
tree | 1746bfdf2f2701f353f7f92eeb147b6e4a15de8c | |
parent | 838ce51196a7e9f9bff83402caf4f678dc0f0d75 [diff] |
tour: deploy with App Engine Standard on Go 1.11 This change upgrades the deployment of tour to use the newer Go 1.11 runtime. As part of that, the appengine build tag is removed (it's no longer set by App Engine), and the GAE_ENV environment variable is used to detect when tour is being run in App Engine mode. Set an environment variable in app.yaml to configure the x/tools/godoc/golangorgenv package appropriately. Factor out the static file handlers in local.go, but keep static file handlers in app.yaml for improved latency across global regions. Updates golang/go#30486 Change-Id: Ia5bc88aab34fd07bf6ff0785da831180f509156f Reviewed-on: https://go-review.googlesource.com/c/tour/+/165537 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
A Tour of Go is an introduction to the Go programming language. Visit https://tour.golang.org to start the tour.
To install the tour from source, first set up a workspace and then run:
$ go get golang.org/x/tour
This will place a tour
binary in your workspace's bin
directory, which can be run offline.
Contributions should follow the same procedure as for the Go project: https://golang.org/doc/contribute.html
To run the tour server locally:
dev_appserver.py app.yaml
and then visit http://localhost:8080/ in your browser.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tour is located at https://github.com/golang/go/issues. Prefix your issue with “tour:” in the subject line, so it is easy to find.
Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.