(Built and tested on Ubuntu 14.4 AWS AIM)
Dependancies:
- git
- go (language)
- hugo
- docker
Git:
(for more detailed or other OS instructions please see: Git Docs)
- install git
$ sudo apt-get update
$ sudo apt-get install git
Go:
(for more detailed or other OS instructions please see: Go Docs)
- Install Go (language)
$ sudo apt-get update
$ sudo apt-get install golang
- Add /usr/local/go/bin to PATH environment variable
$ sudo export PATH=$PATH:/usr/local/go/bin
Hugo:
(for more detailed or other OS instructions please see: Hugo Docs)
- install hugo
$ mkdir -p ~/opt/packages/hugo && cd $_
$ wget https://github.com/spf13/hugo/releases/download/v0.14/hugo_0.14_linux_amd64.tar.gz
$ gzip -dc hugo_0.14_linux_amd64.tar.gz | tar xf - && rm hugo_0.14_linux_amd64.tar.gz
(Adding hugo to your path)
$ sudo ln -s ~/opt/packages/hugo/hugo_0.14_linux_amd64/hugo_0.14_linux_amd64 /usr/local/bin/hugo
$ source ~/.profile
Docker:
(for more detailed or other OS instructions please see: Docker Docs)
- Install Docker
(Check if wget installed)
$ which wget <- If installed skip next two commands
(Installing wget)
$ sudo apt-get update
$ sudo apt-get install wget
$ wget -q0- https://get.docker.com/ | sh