aboutsummaryrefslogtreecommitdiff
path: root/blog/local.go
Commit message (Collapse)AuthorAge
* blog: clean up blog to allow usage with gcloud commandAndrew Bonventre2018-05-24
| | | | | | | | | | | | | | | | | + The app.yaml file needs to be in the same directory as the entry-point Go files, so those are moved from ./blog to ./ + Go files within the context article did not have the +build OMIT directive, so gcloud would view them as files that needed to be built at deploy time. Add the +build OMIT directive and use the context package instead of x/net/context. + Switch to using a service instead of version and update app.yaml to account for this. + Use 1.9 as the runtime. + Remove superfluous .gitignore Change-Id: I7c886849b912bc7f5b67cd2791cb6986d93d5cc7 Reviewed-on: https://go-review.googlesource.com/114455 Reviewed-by: Russ Cox <rsc@golang.org>
* blog: user- and test-friendly local serverKevin Burke2017-10-26
| | | | | | | | | | | | | | 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>
* go.blog: use new golang.org/x/... import pathsAndrew Gerrand2014-11-10
| | | | | | | TBR=rsc R=rsc, r CC=golang-codereviews https://golang.org/cl/170250043
* go.blog/blog: add -reload flag to reload content on each page loadAndrew Gerrand2013-11-21
| | | | | | R=r CC=golang-dev https://golang.org/cl/30040043
* go.blog: move cmd/blog to repo rootAndrew Gerrand2013-09-19
To be consistent with go.talks/present and go-tour/gotour. R=r CC=golang-dev https://golang.org/cl/13751044