Getting Hugo Going on Chromebook

Step 1 : get a version of Hugo

The easiest way to do this is do install from apt-get. I recommend you use this method for eas of installation and we will talk about current version later.
sudo apt-get install hugo

Step 2 : Create my first site named MyFirstSite

We can get into Git later, but I recommend creating a "code" directory for yourself. Create your first test site inside this directory.
hugo new site MyFirstSite

Step 3 : Add a Theme

There was an error when adding the ananke theme so I later download the hyde theme. This command is executed from the themes directory underneath the directory with your site name.
The directory structure under MyFirstSite wil look like this. CD into the themes directory.
penguin:~/code/MyFirstSite$ ls -l
total 4
drwxr-xr-x 1 bradcarrino bradcarrino 20 Apr 6 01:27 archetypes
-rw-r--r-- 1 bradcarrino bradcarrino 82 Apr 6 01:27 config.toml
drwxr-xr-x 1 bradcarrino bradcarrino 0 Apr 6 01:27 content
drwxr-xr-x 1 bradcarrino bradcarrino 0 Apr 6 01:27 data
drwxr-xr-x 1 bradcarrino bradcarrino 0 Apr 6 01:27 layouts
drwxr-xr-x 1 bradcarrino bradcarrino 0 Apr 6 01:27 static
drwxr-xr-x 1 bradcarrino bradcarrino 0 Apr 6 01:27 themes

Retrieve the theme with git clone URL_TO_THEME. Many (but not all) are located at https://themes.gohugo.io/. You can check them out there. git clone git@github.com:themefisher/meghna-hugo.git

Step 4 : Create your first blog post file

Creates an empty post file while in your site's home directory. You can open it with any text editor, add content under the --- section divider. Use HTML tags to mark up the content. hugo new posts/my-first-post.md

My example.md file looks like this:
---
title: "Example"
date: 2019-04-06T01:48:31Z
draft: true
---

Step 5 : Fire up the server and look for your first post

hugo server -b http://hostname -I –bind=0.0.0.0 –navigateToChanged &

Point your browser to the URL the server returns. (http://your_ip:1313/ more than likely). Now keep editing, adding new MD files, testing out new themes. Your server will auto-refresh your test site content.

Watch for the last few lies with your URL. Web Server is available at http://10.11.2.1:1313/ (bind address 0.0.0.0)

Step 6: Help Commands are Useful

I had some issues so started playing around with the help command. At this point my site is not visible because I am inside the Linux container on my Chromebook. hugo help new

Step 7 : Get the latest version and relaunch the server

I went out to the goHugo site and downloaded the latest version of Hugo deb package and installed it manually. Kill your hugo server process before continuing.

sudo dpkg -i hugo_0.54.0_Linux-64bit.deb hugo version hugo server -b http://hostname -I –bind=0.0.0.0 –navigateToChanged &

Step 8 : Start editing content

I am using Caret as my editor at this point, opening files to see what they are and editing them.

Pay attention to the output. Web Server is available at http://[some IP address]:1313/

Other tools I have installed before this… GIT, GoLang