Django on a production server


Fri 08 May 2020

Is your Django project ready for production? Follow these guides to bring your Django project on a production server!

There are many good tutorials out there for learning Django and developing projects locally. But I think that simple tutorials for production deployment is somewhat lacking. In this guide I'll try to fill this gap a little bit. 😉

In the last months I wrote some tutorials that will show you how to bring your Django project on production. Here is a summary of each tutorial.

1. Django NGINX: deploy your Django project on a production server

This tutorial will give you the basics on deployment using the NGINX webserver and uWSGI application server.

Django NGINX: deploy your Django project on a production server
Django NGINX: deploy your Django project on a production server
Read more...

2. How to deploy a Django project in 15 minutes with Ansible

This tutorial will make a step further and will show you how to leverage the power of Ansible to automate all the steps needed for a production deployment.

How to deploy a Django project in 15 minutes with Ansible
How to deploy a Django project in 15 minutes with Ansible
Read more...

3. Bitbucket Pipelines and Ansible: Continuous delivery for your Django project

If you are using Bitbucket you can automate the deployment when you push some code on your repository.

Bitbucket Pipelines and Ansible: Continuous delivery for your Django project
Bitbucket Pipelines and Ansible: Continuous delivery for your Django project
Read more...

4. Django asynchronous tasks without Celery

Did you know that uWSGI provides a production ready task queue? In this tutorial I explain how to configure and use it for your Django asyncronous tasks.

Django asynchronous tasks without Celery
Django asynchronous tasks without Celery
Read more...

Share: