Setting the blog up and why
So this was fun
How I got here
So for some outlandish reason, I thought it would be a good idea to start a blog covering not just techncial but also the non technical stuff that I do. If no one else, I will find it usefal - but I had no idea whats I was doing. I am a DBA after all.
So what am I looking for?
So three key components:
- It’s got to be simple to set up and easy to maintain
- It’s got to be quick to make a post and publish it
- Infrastructure has to be quick but also not cost the world
The decision
After looking around at what was out there, couple of Gemini, Chat GPT searches and random drunken musings the end solution is:
What I wanted:
Resources I choose:
So why Hugo, its a pretty powerful tool and very easy to set up. I did look at some of the others - but for integrations and simplicty this was it Hugo.
OK So how does that work?
Yep it was getting more complicated the more I looked at it, so lets diagram out the process of how the content will go from mind to screen. Hugo is already installed and initialised in my GITHUB repo…
Simples hey - and it really is that easy.
Some of the steps followed
So here some of the steps followed, by the time you read this piece the steps may be outdated but hey will give you an idea. Use google/AI and read the manual - will give ou all you need.
- create repo on personal account (start-blog.git)
- add a file for the readme (readme.md)
- clone the repo locally (git clone git@github.com:(its a secret)/start-blog.git)
- install hugo (brew install hugo)
- hugo version (lets make sure it installed)
- change to the current directory
- I used a standard module for the theme (git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke)
- then alter your hugo.toml file to use that theme (add theme = ‘ananke’) then save
- create the first post (hugo new content posts/my-first-post.md)
- edit the hugo.toml file a bit more to give a nice new name
- add an about file (hugo new about/_index.md)
- lets add some content into that file
- lets alter the first post by adding all of this text
- create the aws amplify app (this should be inside the free tier)
- At the moment I won’t list the steps but hit me up and I can help