From c4e21471adb2ff32250346fcdaa4e1df11d7d7d2 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Wed, 28 Jun 2017 03:12:38 -0600 Subject: [PATCH] Add workaround to Fetch from GitHub documentation `govendor get` attempts to run `govendor install +local` after fetching dependencies, but it would not succeed unless the current directory is somewhere inside $GOPATH/src? That is my limited understanding anyway. Fixes gohugoio/hugo#3657 --- content/overview/installing.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/overview/installing.md b/content/overview/installing.md index 895fae2af..fdcc3bc2c 100644 --- a/content/overview/installing.md +++ b/content/overview/installing.md @@ -124,7 +124,10 @@ You **must use govendor** to fetch Hugo's dependencies. ### Fetch from GitHub +Assuming `$HOME/go/bin` is in your PATH: + go get github.com/kardianos/govendor + cd $HOME/go/src/github.com govendor get github.com/gohugoio/hugo `govendor get` will fetch Hugo and all its dependent libraries to