blog

command module
Version: v0.0.0-...-e0d934b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

README

Go Blog

Go Reference

This directory holds the Go Blog server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website/blog. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

Running Locally

To run the blog server locally:

go run . -reload

and then visit http://localhost:8080/ in your browser.

Contributing

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.

Report Issues / Send Patches

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/website/blog:" in the subject line, so it is easy to find.

Deploying

Each time a CL is reviewed and submitted, the blog is automatically deployed to App Engine. If the CL is submitted with a Website-Publish +1 vote, the new deployment automatically becomes https://blog.golang.org/. Otherwise, the new deployment can be found in the App Engine versions list and verified and manually promoted.

If the automatic deployment is not working, or to check on the status of a pending deployment, see the “website-redeploy-blog” trigger in the Cloud Build console.

Documentation

Overview

Command blog is a web server for the Go blog that can run on App Engine or as a stand-alone HTTP server.

Directories

Path Synopsis
_content
appengine
This server can run on App Engine.
This server can run on App Engine.
h2push/server
The server command demonstrates a server with HTTP/2 Server Push support.
The server command demonstrates a server with HTTP/2 Server Push support.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL