HUGO Static Site Hosted on GitHub Pages - Part 3: Build and Deploy

Now that we’ve created our site and first post, we can start creating the repos to build, deploy and host the static site. Create the Two GitHub Repositories Browse to GitHub and create two new repos. More info on how to do this can be found here The two repos will be named as follows: username-hugo (mine is markkerry-hugo) username.github.io (mine is markkerry.github.io) The username-hugo repo is where we are going to commit our site to....

April 4, 2021 · 4 min · Mark kerry

Git Basics

Here are some basics. I’m going to push the code from my last post to GitHub. In this example I am using PowerShell with Git and GitHub Desktop already installed. You will have to ensure you sign into GitHub Desktop with your GitHub account. Tip: You can install and import the PowerShell module posh-git for the Git summary status info to display in your terminal. Directory Structure In the following example, I created my new repository I want to push to GutHub in C:\git\repos\ and created a new folder called basic-go-container....

March 21, 2021 · 3 min · Mark kerry

Running a Local Go Web App in Docker

In this post, I walk through creating a simple Go web app that runs in a Docker container, and lists the hostname of the container it’s running in. I chose Go as I’ve recently gotten started writing code in Go and it’s a lot of fun to work with. The container will install Go, so there is no need to install it locally on your machine. Docker is a prerequisite, however....

March 14, 2021 · 4 min · Mark kerry

Markdown Reference

If you scroll to the bottom of any page of this site, you will notice the words “Powered by Hugo”, and all posts generated in a Hugo static web app are written in markdown. Having owned a Github account for a few years now, I have some experience writing docs in markdown, but at times have to resort to looking up Markdown style guides. Here is my quick reference for writing in Markdown....

February 22, 2021 · 3 min · Mark kerry