mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Adding better source build instructions
This commit is contained in:
parent
f199004989
commit
dcd8ff716a
2 changed files with 32 additions and 0 deletions
16
README.md
16
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue