Trying Out Nanobus

A friend of mine recently asked me to take a look at Nanobus. I guess the first question is what is Nanobus? Allow me to pilfer that definition directly from the Nanobus Overview page. They define it as a lightweight framework for building secure and scalable software services. The next question is what does this really mean? To be honest, I have no idea! I guess we’ll find out together as I’m trying out Nanobus for the first time! ...

February 10, 2023 · 5 min · Scott

Successfully Deploying a Static WordPress Site

If you’ve followed my previous posts, you’ll see that I’ve spent some time attempting to build my blog on WordPress and then finally make it static. This had resulted in lots of custom code and even more failed attempts to get things to publish correctly. I’ve finally been successful in building out my site with a combination of some of my failed attempts: Adding Nginx in Front of WordPress Building a Kubernetes Container That Synchs with Private Git Repo Building a Static WordPress The third article above is the most failed attempt to date at making the WordPress site static because it resulted in just as many successes as it did failures. The good news is that I learned a lot along the way on this particular attempt and it brought me to what appears to be a functional static site. ...

November 17, 2022 · 6 min · Scott

Adding pre-commit Hooks to Python Repo

Writing code can be tough and writing clean code can be even more difficult some times. When you get on a roll and put together highly functional and imaginative code, it might not always look the greatest. Also, when crunched for time, it can be very difficult to go back over the code and attempt to make it as pretty as possible. You might also need to make sure other files used by your code are also formatted properly. Next, add in multiple developers, and you’ve got yourself something that can grow uglier over time. Much of these issues can be addressed by using <a href="https://pre-commit.com/" rel="noreferrer noopener" target="_blank">pre-commit</a> hooks in your Python code’s github repo. ...

November 6, 2022 · 10 min · Scott

Using Github Actions To Test Before You Deploy

I’ve been using DigitalOcean for quite some time now and had recently setup their App Platform to run my website. Their platform is great in that I’m able to build a docker container running Openresty and it handles all of my needs. The platform does a great job of catching docker build failures and stops attempting a deployment when this happens. A few weeks ago, I had a concerning thought in that they don’t catch problems with my Openresty configuration until it’s too late. The moment their platform executes openresty inside the container, everything pukes and my site goes offline. ...

October 23, 2022 · 5 min · Scott

Deploying a Sample PostgreSQL Database

Now that I’m beginning to use Github to manage my Kubernetes cluster as shown in my previous article Making The Leap Into Devops, it’s time to start bringing over some of my sample systems for testing. This article shows how to make use of Bitnami’s PostgreSQL helm chart to deploy a sample PostgreSQL database in Kubernetes. I make use of the PostgreSQL DVDRental Sample Database that is available here. In order to incorporate this into my deployment, I have created a public Github called sample_dbs to host my sample databases. I pull this down into the deployment so that I have a sample database. ...

September 11, 2022 · 3 min · Scott