mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 14:55:09 -04:00
Adding better source build instructions
This commit is contained in:
parent
3eb9e52726
commit
2853ee2ab1
@ -24,9 +24,25 @@ platform.
|
|||||||
|
|
||||||
## Installing from source
|
## Installing from source
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
Make sure you have a recent version of go installed. Hugo requires go 1.1+.
|
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
|
git clone https://github.com/spf13/hugo
|
||||||
cd hugo
|
cd hugo
|
||||||
|
go get
|
||||||
go build -o hugo main.go
|
go build -o hugo main.go
|
||||||
|
|
||||||
|
### Running Hugo
|
||||||
|
|
||||||
|
cd hugo
|
||||||
|
go run main.go
|
||||||
|
|
||||||
|
### Building Hugo
|
||||||
|
|
||||||
|
cd hugo
|
||||||
|
go build -o hugo main.go
|
||||||
|
Loading…
x
Reference in New Issue
Block a user