Hello World Part 3: Custom Domain

In the previous post, we successfully pushed our source code to Github, and leveraged Github Pages to host our blog. We also explored Github action to set up an automatic build pipeline for our blog. In this tutorial we will learn how to deploy our blog using our own domain while still leveraging all of the tools Github provides. Domain purchase There are many services from which you could buy a domain. Personally I don’t have much experience with this, but namecheap was recommended by my friend some times ago. I bought some domains from namecheap before, and the price for a 1 year subscription is around $10. Depending on what domain you desire the price could be lower, or higher. Some domains may even cost you $100 per year. So let’s grab a domain of your choice, and we will continue this tutorial. In the next section we’ll explore how to configure the newly bought domain so that it works well with your Github pages. ...

July 23, 2022 · 3 min

Hello World Part 2: Leveraging Github Pages

We successfully created a blog in our local environment in the first part of this tutorial. Now it’s time to share it with the Internet. We will levarage Github pages as our hosting environment. Why? Because it’s free! Github Setup I’m gonna assume that you already got a Github account, and also installed git in your local machine. You should create a new repository in your Github, name it personal-blog, or any fancy name that you want. For the remainder of this tutorial we will refer to it as personal-blog for the sake of simplicity. Remember to set your repository visibility as public because it’s required by Github (you can actually make it private if you’re willing to pay though). ...

July 19, 2022 · 3 min

Hello World Part 1: Creating a personal blog with Hugo

As I’m getting older it’s harder for me to remember things while I realize there are more things I need to learn. Improving my memory is important. Jotting things down so that I can revise later is also a good alternative. Go is a powerful programming language, and has been my “main” programming language for a few years by the time this post is being written. I’m excited to learn Hugo, and hopefully I can create something fun with it. In this post I am sharing a basic tutorial of creating a blog using Hugo, and deploy it to a github page. This is what I achieved in a 2-hour session (yeah, I know, you can probably finish this in less than 2 hours, I’m getting old and slow!) of reading Hugo documents and repeating trial-and-error. ...

July 17, 2022 · 4 min