|author||Martin Kunc <firstname.lastname@example.org>||Tue Dec 31 23:16:57 2019 +0000|
|committer||Brad Fitzpatrick <email@example.com>||Mon Jan 06 16:17:50 2020 +0000|
tour: update README after App Engine runtime change After update to Go 1.12 (in CL 198320), the local server is not needed (or even available). Instead these new instructions will start a local instance. Change-Id: Ie24b9c9f902ebd70d3b3b9ff8d2c4aa49be631bd GitHub-Last-Rev: b3facf0d8dd5ceccea4c2260b5fab4f6f731e827 GitHub-Pull-Request: golang/tour#880 Reviewed-on: https://go-review.googlesource.com/c/tour/+/212999 Reviewed-by: Brad Fitzpatrick <firstname.lastname@example.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 install Go and then run:
$ go get golang.org/x/tour
This will place a
tour binary in your workspace's
bin directory. The tour program 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:
go run .
Your browser should now open. If not, please visit http://localhost:3999/.
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.
To deploy tour.golang.org, run:
GO111MODULE=on gcloud --project=golang-org app deploy --no-promote app.yaml
This will create a new version, which can be viewed within the golang-org GCP project.
Check that the deployed version looks OK (click the version link in GCP).
If all is well, click “Migrate Traffic” to move 100% of the tour.golang.org traffic to the new version.
Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.