Adding better source build instructions
authorspf13 <steve.francia@gmail.com>
Fri, 19 Jul 2013 05:27:21 +0000 (22:27 -0700)
committerspf13 <steve.francia@gmail.com>
Fri, 19 Jul 2013 05:30:55 +0000 (22:30 -0700)
README.md
docs/content/doc/installing.md

index 1d1ad44fe2e5530e578488805ad3ab5f6501f3d1..cd57ec91aee0e04dc3a1a505ac9b2f11409e7d1d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -37,12 +37,28 @@ is the most probable location.
 
 ## 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
 
index 92a07dec94752d3f74c4dacc96009897e28b0a29..5455cc35afd1a63466036768fc8badd36e3225f5 100644 (file)
@@ -24,9 +24,25 @@ platform.
 
 ## 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