Guguweb - productionhttps://www.guguweb.com/2022-03-02T15:47:12+01:00Freelance developer and sysadminDjango on a production server2020-05-08T10:34:43+00:002022-03-02T15:47:12+01:00augustotag:www.guguweb.com,2020-05-08:/2020/05/08/django-on-a-production-server/<p>Is your Django project ready for production? Follow these guides to bring your Django project on a production server!</p>
<p>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 …</p><p>Is your Django project ready for production? Follow these guides to bring your Django project on a production server!</p>
<p>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. 😉</p>
<p>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.</p>
<h2 id="1-django-nginx-deploy-your-django-project-on-a-production-server">1. <a href="/2019/11/13/django-nginx-deploy-your-django-project-on-a-production-server/">Django NGINX: deploy your Django project on a production server</a></h2>
<p>This tutorial will give you the basics on deployment using the <a href="https://www.nginx.com/">NGINX webserver</a> and <a href="https://uwsgi-docs.readthedocs.io/en/latest/">uWSGI application server</a>.</p>
<div class="row">
<div class="col-12 col-sm-8 col-md-6 mx-auto">
<div class="card my-5">
<img src="/images/2019/11/thumbnails/400x_/django_nginx.png" class="card-img-top" alt="Django NGINX: deploy your Django project on a production server">
<div class="card-body">
<h5 class="card-title">Django NGINX: deploy your Django project on a production server</h5>
<a href="/2019/11/13/django-nginx-deploy-your-django-project-on-a-production-server/" class="btn btn-link stretched-link">Read more...</a>
</div>
</div>
</div>
</div>
<h2 id="2-how-to-deploy-a-django-project-in-15-minutes-with-ansible">2. <a href="/2017/05/02/how-to-deploy-a-django-project-in-15-minutes-with-ansible/">How to deploy a Django project in 15 minutes with Ansible</a></h2>
<p>This tutorial will make a step further and will show you how to leverage the power of <a href="https://www.ansible.com/">Ansible</a> to automate all the steps needed for a production deployment.</p>
<div class="row">
<div class="col-12 col-sm-8 col-md-6 mx-auto">
<div class="card my-5">
<img src="/images/2017/05/thumbnails/400x_/ansible_django.png" class="card-img-top" alt="How to deploy a Django project in 15 minutes with Ansible">
<div class="card-body">
<h5 class="card-title">How to deploy a Django project in 15 minutes with Ansible</h5>
<a href="/2017/05/02/how-to-deploy-a-django-project-in-15-minutes-with-ansible/" class="btn btn-link stretched-link">Read more...</a>
</div>
</div>
</div>
</div>
<h2 id="3-bitbucket-pipelines-and-ansible-continuous-delivery-for-your-django-project">3. <a href="/2020/01/03/bitbucket-pipelines-and-ansible-continuous-delivery-for-your-django-project/">Bitbucket Pipelines and Ansible: Continuous delivery for your Django project</a></h2>
<p>If you are using <a href="https://bitbucket.org/">Bitbucket</a> you can automate the deployment when you push some code on your repository.</p>
<div class="row">
<div class="col-12 col-sm-8 col-md-6 mx-auto">
<div class="card my-5">
<img src="/images/2019/05/thumbnails/400x_/devops-3148393_1280.png" class="card-img-top" alt="Bitbucket Pipelines and Ansible: Continuous delivery for your Django project">
<div class="card-body">
<h5 class="card-title">Bitbucket Pipelines and Ansible: Continuous delivery for your Django project</h5>
<a href="/2020/01/03/bitbucket-pipelines-and-ansible-continuous-delivery-for-your-django-project/" class="btn btn-link stretched-link">Read more...</a>
</div>
</div>
</div>
</div>
<h2 id="4-django-asynchronous-tasks-without-celery">4. <a href="/2019/11/21/django-asynchronous-tasks-without-celery/">Django asynchronous tasks without Celery</a></h2>
<p>Did you know that <a href="https://uwsgi-docs.readthedocs.io/en/latest/">uWSGI</a> provides a production ready task queue? In this tutorial I explain how to configure and use it for your Django asyncronous tasks.</p>
<div class="row">
<div class="col-12 col-sm-8 col-md-6 mx-auto">
<div class="card my-5">
<img src="/images/2019/11/thumbnails/400x_/logistics-852936_1920.jpg" class="card-img-top" alt="Django asynchronous tasks without Celery">
<div class="card-body">
<h5 class="card-title">Django asynchronous tasks without Celery</h5>
<a href="/2019/11/21/django-asynchronous-tasks-without-celery/" class="btn btn-link stretched-link">Read more...</a>
</div>
</div>
</div>
</div>