mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
Add slightly better GitHub install description
See https://github.com/gohugoio/hugo/issues/3657
This commit is contained in:
1 parent
2611980f4a
commit
dc10d7f68e
1 file changed
+4
-2
@@ -124,13 +124,15 @@ You **must use govendor** to fetch Hugo's dependencies.
|
|||||||
|
|
||||||
### Fetch from GitHub
|
### Fetch from GitHub
|
||||||
|
|
||||||
|
The commands below assume that you have [Go](https://golang.org/dl/) installed with your `$GOPATH` is set.
|
||||||
|
|
||||||
go get github.com/kardianos/govendor
|
go get github.com/kardianos/govendor
|
||||||
govendor get github.com/gohugoio/hugo
|
govendor get github.com/gohugoio/hugo
|
||||||
|
|
||||||
`govendor get` will fetch Hugo and all its dependent libraries to
|
`govendor get` will fetch Hugo and all its dependent libraries to
|
||||||
`$HOME/go/src/github.com/gohugoio/hugo`, and compile everything into a final `hugo`
|
`$GOPATH/src/github.com/gohugoio/hugo`, and compile everything into a final `hugo`
|
||||||
(or `hugo.exe`) executable, which you will find sitting inside
|
(or `hugo.exe`) executable, which you will find sitting inside
|
||||||
`$HOME/go/bin/`, all ready to go!
|
`$GOPATH/go/bin/`, all ready to go!
|
||||||
|
|
||||||
*Windows users: where you see the `$HOME` environment variable above, replace it with `%USERPROFILE%`.*
|
*Windows users: where you see the `$HOME` environment variable above, replace it with `%USERPROFILE%`.*
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user