From: spf13 Date: Fri, 19 Jul 2013 05:27:21 +0000 (-0700) Subject: Adding better source build instructions X-Git-Tag: v0.8~26 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dcd8ff71;p=brevno-suite%2Fhugo Adding better source build instructions --- diff --git a/README.md b/README.md index 1d1ad44f..cd57ec91 100644 --- 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 diff --git a/docs/content/doc/installing.md b/docs/content/doc/installing.md index 92a07dec..5455cc35 100644 --- a/docs/content/doc/installing.md +++ b/docs/content/doc/installing.md @@ -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