Configuring GPG to sign Git commits
Learn how to create GPG keys and sign git commits using them.
Git can be configured to ignore some files in your computer or repository you don’t want to track. These files can include log files, .env files that contain sensitive information, files generated automatically by your text editor or build system, or any locally generated files that your team members will not need. You use gitignore …
Summary of the first two chapters in Clean Code by Robert C. Martin
According to Amazon, ECS or Elastic Container Service is “a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster of Amazon EC2 instances”. In this post I will cover some of the main features of AWS ECS including clusters, tasks and services. Clusters Clusters …
Setting up a Django super user may be a requirement in your test setup code. The commands used to create users are interactive by default and unfortunately do not allow you to pass in the user’s password as an argument or a flag on the command line. This is a security measure, but it isn’t …
In a previous article, I discussed four different deployment policies you can employ when deploying applications to AWS. Some of these methods include All at once, Rolling, Immutable and Blue/Green deployments. In that article I discussed the differences between these policies. In this post, I will show you how to set up Immutable and Blue/Green …
When building or working with docker containers, you may get error messages like the one below relating to a lack of space: The error occurs because Docker objects accumulate over time and can eventually exhaust available storage. To resolve do the following: This will tell you how much space Docker objects are taking up in …