All Articles

Continuous integration for Django projects

This is a bit different from the post on introductory CircleCI setup posted here.

This article focuses on setting up a continuous integration pipeline for a Django project, but the information here can be extended to other Python projects, too. Django is a Python framework that is described as the “web framework for perfectionists with deadlines.” It is considered a great tool for creating Minimal Viable Products (MVPs) because it is easy to set up an application with a database and to run tests. It delivers high quality code and has excellent documentation. These features also benefit your users because it promises the fast shipping of new features.

Here are the steps we will take:

  • Create a Django app
  • Create tests for the app
  • Dockerize the app
  • Configure CircleCI
  • Run locally
  • Push to GitHub
  • Add a badge
  • Explore optimization with caching

Continue reading more at the circleci.com article here.

Writing this article, prompted me to create a Git repository with Django girls tutorial complete and host it on Github. Feel free to follow the commits through the different branches in the repo.