Enhancing your skills with one code exercise a day

One of the characteristics I notice the most when talking about Software Development is the need of constantly being studying, learning and updating yourself. And as having this constant effort of gathering information, last year, I found myself a bit lost in the process. I was tired of reading and doing courses, and was struggling to find a sparkle to code every day again. Also, I found this pattern in most of my colleagues as we got tired of staying at home only (due to the pandemic). [Read More]

Using VCR to Mock Your Requests

In the past months, I’ve been working with a lot of external API requests. Since I’m part of the Marley Spoon’s logistics team, our challenge is to make sure our requests are done in time and everything is delivered in good shape. Part of this task, as a software developer, is making sure the code I write is well tested, and does what it is supposed to do. Our software has many integrations with our logistics partners. [Read More]

Open Source Quarantine

It’s quarantine time, and we might be tired of staying at home, not going out to live our lives. But we can turn it into something productive that might help other developers in the future. Since we have this free time, it would be awesome to give back (or just to start giving back) to tools that we appreciate and are free. There are a lot of blog posts that already cover on how to contribute to open source, so I’ll not rewrite what they say. [Read More]

Setting up tests for Django Plugins

Did you have a good idea for a nice Django plugin? Don’t know how to set up tests for it without creating a whole Django app for your project? Here is the solution for you. This article is written after a pull request for Django Public Admin, using django-stdimage as a base. Django Public Admin is a plugin that makes a public and read-only version of the Django Admin. It uses Poetry to manage packages and dependencies, pytest to run tests in addition to pytest-django. [Read More]

Migrating our CI to Github Actions

And how we did that in Tourlane Now in Tourlane we are switching our deployment system to use GitHub Actions. So, in this post, we are sharing our experience with the tool so far, and how we are migrating our projects, little by little to the tool. What is CI/CD? Martin Fowler, one of the original authors of the Agile Manifesto, describes them like this in this book: Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. [Read More]