commit | 6d8d6d21bfd27e8a05fe6970a1d23fa47e8b7577 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Tue Jun 09 13:49:06 2020 -0400 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Tue Jun 09 18:11:53 2020 +0000 |
tree | 46b24af553eabfa162f4911a6e737d81b691b165 | |
parent | 1d697d5c9b654ae37f1057735c0a5320c50e2269 [diff] |
content/vscode-go: add redirect from long form URL The canonical path for this blog post is the short path /vscode-go, determined from the file name. This change adds a secondary longer path that redirects to the canonical short one, so that both links can work at the time the blog post is published. Change-Id: I8f0edf44536d22ef2fd8693aa5c6e82947a8c7a6 Reviewed-on: https://go-review.googlesource.com/c/blog/+/237165 Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This repository holds the Go Blog server code and content.
The easiest way to install is to run go get -u golang.org/x/blog
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/blog.
To run the blog server locally:
go run . -reload
and then visit http://localhost:8080/ in your browser.
Articles are written in the x/tools/present format. Articles on the blog should have broad interest to the Go community, and are mainly written by Go contributors. We encourage you to share your experiences using Go on your own website, and to share them with the Go community. Hugo is a static site server written in Go that makes it easy to write and share your stories.
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 blog is located at https://github.com/golang/go/issues. Prefix your issue with “x/blog:” in the subject line, so it is easy to find.
To deploy blog.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 blog.golang.org traffic to the new version.
You're done.