On a mac:
brew install hugo
On Linux:
- Download from the releases page: https://github.com/gohugoio/hugo/releases/tag/v0.56.3
- Extract and save the executable to
/usr/local/bin
From wherever you checkout repos(or your fork):
git clone https://github.com/rafik8/istio-workshop.git
cd istio-workshop
git submodule init
git submodule update
hugo server
Visit http://localhost:1313/ to see the site.
As you save edits to a page, the site will live-reload to show your changes.
Any commits to master will auto build and deploy in a couple of minutes. You can see the currently deployed hash at the bottom of the menu panel.
Any commits to a branch will auto build and deploy in a couple of minutes to a custom route named with the branch name. You can see the currently deployed hash at the bottom of the menu panel.