commit | cad53bf66e7328f5f6bdf7bf02113464370f16a4 | [log] [tgz] |
---|---|---|
author | Kevin Burke <kev@inburke.com> | Mon Jul 17 11:16:06 2017 -0700 |
committer | Kevin Burke <kev@inburke.com> | Thu Oct 26 16:49:03 2017 +0000 |
tree | 0bab1e266b5a6612b8f41d49fa831b7f4a1f126c | |
parent | 18a9253a5fd13205b04beed8e8ca009547b12c1f [diff] |
blog: user- and test-friendly local server Log a short message when the blog starts explaining that it's listening and what port it's listening on. This is helpful to avoid errors if you start the blog and refresh the page before the server has started listening on the port. Add a basic homepage rendering test that should help protect against regressions. Change-Id: Ic86c30652714230b730cd4a254e69c10d019246b Reviewed-on: https://go-review.googlesource.com/49292 Reviewed-by: Chris Broadfoot <cbro@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 build -o blog.exe ./blog ./blog.exe
and then visit http://localhost:8080/ in your browser.
Note that blog.exe caches all content and you must kill it (Ctrl-C on Unix systems) and restart it after editing any files to view changes.
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 “blog:” in the subject line, so it is easy to find.