Setup Hugo on Ubuntu
Contents
I setup hugo on my Ubuntu client PC.
1 Environment
|
|
2 Install Hugo
I referred some pages to install hugo
2.1. Install Homebrew
|
|
Then followed instruction in install.sh output.
|
|
For run hugo
command, I added path to ~/.bashrc
after all.
export PATH=$PATH:$HOME/bin:/home/linuxbrew/.linuxbrew/bin
3 Git clone
Clone from private repository.
3.1 Clone repository
|
|
However, hugo server
command failed as follows:
|
|
This is because git submodule (LoveIt template llibrary) has not been cloned by git clone commmand
.
3.2 Update submodule after git clone.
|
|
4 Start server
Finally, I could run hugo
on Ubuntu.
|
|