macOS: $ brew install hugo
To install on other platforms visit: https://gohugo.io/
$ hugo version
$ git clone https://github.com/tyrin/learning-map-generator.git
Initialize the git submodule that allows us to publish automatically.
$ git init
This step creates a public folder and copies all the static content & images. The site content will load from the public folder. To create the public folder run hugo without any arguments.
$ hugo
This helps you visualize & validate what your site looks like
$ hugo server -t toha -w
Open browser and go to http://localhost:1313.
Press ctrl+c to stop the server.
- Go to https://app.netlify.com/
 - Connect your github account & pick your repo
 - Update Deploy Settings:
- Base directory: 
<your repo> - Build command: hugo
 - Publish directory: 
<your repo>/public - Other setting pieces can remain in default state.
 
 - Base directory: 
 - Save and deploy
 
Notes:
- You can pick which branch will be used to deploy the site
 - You can customize the auto-deployment settings
 - Deploy logs are pretty useful if you want to debug deployment issues
 - Default, everytime a change is commited deployment is triggered.