I keep going back to Loyall, and I will as long as it's there, but I need a quick start.
- Start a blank workspace on Cloud9
- run
$ go version
- install it if there's no version installed.
- run
C9 ~/.profile
add the following lines at the bottom of file.
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
- run
$ . ~/.profile
- run
$ echo $GOPATH
--> this should print /home/ubuntu/go - Follow installation instructions for Hugo.
- Pay attention to the vendor dependencies!
- run
$ hugo version
Hugo has been properly installed, if you see this:
Hugo Static Site Generator v0.27-DEV linux/amd64 BuildDate: 2017-08-10T10:49:50Z
You can find all releases of Hugo on the official github repo