All contents here are served by https://cms.miayam.io.
First of all, I don’t do DevOps. I just follow tutorials on Internet blindly. 3 months ago, I set up CI/CD pipeline with GitHub Actions, but now I miss the forest for the tress a.k.a I have no clue about it. That’s probably the reason why I have respect for anyone who dirty their hands with this kind of stuff. Just give all your money to DevOps, you dummy!
This article is just a reminder for the dumb me.
What kind of CMS am I looking for?
- A headless CMS that can spew contents in JSON format.
- Packaged as a Docker image so I can move it around from one free cloud service to another (AWS free-tier for a year and GCP free-tier for 90 days) until I finally move it to DigitalOcean, the cheapest of them all.
- Easy to use.
- If I got any issues, I can solve it by copy-pasting error message on Google search bar.
My choice goes to WordPress. It is simple, useful, battle-tested and of course boring.
To set up WordPress with Docker Compose, I need to follow https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose.
To understand what the heck AWS EC2 is, I need to follow https://srepollock.medium.com/wordpress-in-a-docker-container-on-an-aws-ec2-instance-acb9b2243040.
To set up WordPress REST API and trigger Netlify deployment whenever new post created, I need to follow https://egghead.io/courses/headless-wordpress-4a14.
To enable lazy-loading for
scripts, I need to follow https://wptips.dev/lazyload-without-plugin/.
To enable REST API for my modest search engine, I need to install https://wordpress.org/plugins/relevanssi/ and https://wordpress.org/plugins/rest-api-for-relevanssi/.