shithub: hugo

Download patch

ref: dcd8ff716ac539fab260d3db366428297bf601d1
parent: f199004989ca6a0b035320851fe6d9046445c1e5
author: spf13 <[email protected]>
date: Thu Jul 18 18:27:21 EDT 2013

Adding better source build instructions

--- a/README.md
+++ b/README.md
@@ -37,12 +37,28 @@
 
 ## Installing from source
 
+### Dependencies
+
 Make sure you have a recent version of go installed. Hugo requires go 1.1+.
 
+**Due to packaging dependencies the following are also required: Git, Bazaar, Mercurial**
+
+### Cloning and Installing dependencies
+
     git clone https://github.com/spf13/hugo
     cd hugo
+    go get
     go build -o hugo main.go
 
+### Running Hugo
+
+    cd hugo
+    go run main.go
+
+### Building Hugo
+
+    cd hugo
+    go build -o hugo main.go
 
 ## Source Directory Organization
 
--- a/docs/content/doc/installing.md
+++ b/docs/content/doc/installing.md
@@ -24,9 +24,25 @@
 
 ## Installing from source
 
+### Dependencies
+
 Make sure you have a recent version of go installed. Hugo requires go 1.1+.
 
+**Due to packaging dependencies the following are also required: Git, Bazaar, Mercurial**
+
+### Cloning and Installing dependencies
+
     git clone https://github.com/spf13/hugo
     cd hugo
+    go get
     go build -o hugo main.go
 
+### Running Hugo
+
+    cd hugo
+    go run main.go
+
+### Building Hugo
+
+    cd hugo
+    go build -o hugo main.go