Welcome to my blog! I know I know it’s a very stereotypical thing to say. Very much blogger style. But just be happy I didn’t start it with
So as this is my first blogpost, I’ll give a small background to me and then I’ll give you an idea of my sweet hugo setup.
So that’s a small paragraph to me, let me talk to you about the blog setup I’m running for this blog.
- Hugo (Static Site Renderer)
- Hugo Template (Hyde-Hyde - I want to change this in the future)
- git & Github
I do plan on fiddling around with Gatsby, it seems interesting, my frontend framework of choice is React and many other reasons but I just haven’t got around to it yet.
Then after setting up Hugo and it’s template, I’ve setup a git repo on my github to host it all. The content, the project files and all.
Then onto the juicy part, Netlify. This has to be one of the coolest SaaS apps I’ve used EVER. It’s so easy to use, it’s extremely powerful, has a great free tier, and many other addons like free SSL certificates with Let’s Encrypt.
The way I’ve setup my CI/CD with Netlify is that every new push onto the master branch will trigger a new deploy on Netlify. It automatically pulls the latest code, then builds the Hugo files and hosts the static files!
I’ve done some vudoo magic with the domains and all but that’s a minor thing. Basically I’ve pointed a subdomain onto the Netlify domain I got given automatically, then Netlify gives me automatic https. Then lastly I have created a redirect from the automatic Netlify domain to my subdomain. All in about an HOUR. Which is amazing and crazy considering how much time this would take if you would have to do it yourself, with a Nginx/Apache server etc…
Anyways I think this has been a good post, now It’s time for bed and more coding tomorrow!