Skip to content

Commit 3ec920a

Browse files
committed
adding better install directions
1 parent d116255 commit 3ec920a

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

Diff for: README.md

+9
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ is the most probable location.
2828
Hugo doesn't have any external dependencies, but can benefit from external
2929
programs.
3030

31+
## Installing from source
32+
33+
Make sure you have a recent version of go installed. Hugo requires go 1.1+.
34+
35+
git clone https://github.com/spf13/hugo
36+
cd hugo
37+
go build -o hugo main.go
38+
39+
3140
## Source Directory Organization
3241

3342
Hugo takes a single directory and uses it as the input for creating a complete website.

Diff for: docs/content/doc/installing.md

+10
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,13 @@ is the most probable location.
1616

1717
Hugo doesn't have any external dependencies, but can benefit from external
1818
programs.
19+
20+
21+
## Installing from source
22+
23+
Make sure you have a recent version of go installed. Hugo requires go 1.1+.
24+
25+
git clone https://github.com/spf13/hugo
26+
cd hugo
27+
go build -o hugo main.go
28+

Diff for: docs/content/doc/source-directory.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ This directory structure tells us a lot about this site:
5151
2. It will also apply two different indexes to that content, categories and tags.
5252
3. It will be displaying content in 3 different views, a list, a summary and a full page view.
5353

54-
Included with the repository is an this example site ready to be rendered.
54+
Included with the repository is this example site ready to be rendered.

0 commit comments

Comments
 (0)