I have completed the migration from WordPress to Hugo!

It was pretty fun to work on and with creating posts/guides are less of a hassle (clicking through multiple buttons and back to see changes) than it was from before. Also pages load quicker now since it’s just running behind an nginx server with static html files instead of all that jazz (which was nice but the ‘good-looking’ plugins were paid). Also this page can be viewed in Firefox!!

Here’s an example of the file layout/how content is organised:

Image
Image: Actual layout of files on this website

Creating posts are very similar to how I did it in WordPress, but now it’s markdown.

A nice thing is that I can use GitLab (self-hosted GitHub alternative) to store my files and publish changes with this process:

  1. hugo --minify: builds site files into public/ directory
  2. I push the public/ directory into a different git repository which will be the hosting files for running the nginx webserver.
  3. Over on the webserver machine, I run a git pull in the www directory and changes are seen instantly.

One last thing, my server’s storage is running full :)… 🫠

Image
Image: My (former) server's storage capacity

Well, the only downside so far is that it can only be done on my PC, but I’ll eventually figure out how to make it so that I can manage posts on mobile.


Last updated: 2024-09-02 22:45 -0700