Fri 30 Dec 2022

Deploying Django apps with Github Actions and Django Up

For the last few years I've been using Django Up to deploy my small Django side projects. It's implemented as a Django management command that under the hood uses Ansible to deploy to an Ubuntu 22.04 server.

In the past, I've typically run deployments from my local machine. However, this year I've been encouraging more teams to focus on CI/CD practices, so I've decided to migrate a number of projects to deploy from Github Actions (thanks, work!).

With that in mind, I wanted to share a quick guide on how to deploy a new Django project to a VPS using Github Actions.

Source: Deploying Django apps with Github Actions and Django Up, an article by Brenton Cleeland.

Why I'm still using Python

I’ve been using Python since 2006, and every year I ask myself if it’s still the right language for me. I don’t want to get stuck using a language just because it’s the one I’ve become comfortable using. Languages are constantly evolving, and if there’s a language that better suits my needs I’ll happily invest the time needed to make a change. In the end, though, Python is still right for me, for the same reasons it was right in 2006: it lets me get the work done that I want to do, enjoyably and efficiently. There’s also the added bonus of getting to be part of one of the best communities I’ve ever been involved in.

Source: Why I'm still using Python, an article by Eric Matthes.

Load Testing Tips

Over a decade plus of getting retailers ready for a smooth Black Friday I’ve collected a few tips, tricks, and stories related to keeping busy applications online during big events.

In fact there’s one simple (not easy!) trick to it: the best way to ensure your website can handle a big event is to have your website handle a big event. That may seem like a tautology, but it’s where this post starts and it’s where it ends.

Source: Load Testing Tips, an article by Shane Hansen.

White Noise (2022)

Dramatizes a contemporary American family's attempts to deal with the mundane conflicts of everyday life while grappling with the universal mysteries of love, death, and the possibility of happiness in an uncertain world.

In the evening Esme and I watched White Noise. I didn't like the movie much and give it a 5 out of 10.