This repository holds various Go talks that may be viewed with the present tool.
To install the present tool, use go get
:
go get golang.org/x/tools/cmd/present
To view talks, run present
in the content
directory and then visit http://127.0.0.1:3999 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 talks repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/talks:” in the subject line, so it is easy to find.
To deploy these talks to talks.golang.org hosted on App Engine:
Add a version of golang.org/x/tools/cmd/present
that you intend to use in this deploy as a dependency of this module:
go get -d golang.org/x/tools/cmd/present@latest
Copy the contents of golang.org/x/tools/cmd/present
to the root of this repository:
rsync -r $(go list -f '{{.Dir}}' golang.org/x/tools/cmd/present)/ .
Run the deploy:
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 talks.golang.org traffic to the new version.
Clean up the local file modifications that steps 1 and 2 caused.
You're done.