commit | 6bb846ce41cdca087b14c8e3560a679691c424b6 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Tue Oct 01 15:53:18 2019 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Wed Oct 02 17:10:47 2019 +0000 |
tree | 71342ee91029da7d2ae71b63de6e0987ebb225f1 | |
parent | 45121acd746573507cdaaf902958dba082f7c25b [diff] |
tour: add analytics HTML and deploy instructions When deployed with App Engine on tour.golang.org, insert analytics HTML at the beginning of <head>. Add deploy instructions to the README. Also update to the App Engine Go 1.12 runtime. Change-Id: Ib3333290783f34eb00843006cf949308302b342d Reviewed-on: https://go-review.googlesource.com/c/tour/+/198320 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 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:
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.
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.
You're done.
Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.