From d6b866d2a1fafd33307b91daa1d641d9bc7c93dc Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sat, 4 Jan 2020 10:43:39 -0800 Subject: [PATCH] Show how to use tools/serve --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 386bf71..04dd98b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,6 @@ To build the site you'll need Go and Python installed. Run: ```console $ go get github.com/russross/blackfriday $ tools/build -$ open public/index.html ``` To build continuously in a loop: @@ -34,6 +33,12 @@ To build continuously in a loop: $ tools/build-loop ``` +To see the site locally: + +``` +$ tools/serve +$ open http://127.0.0.1:8000/ + ### Publishing To upload the site: