<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Guguweb - guide</title><link href="https://www.guguweb.com/" rel="alternate"></link><link href="https://www.guguweb.com/feeds/guide.atom.xml" rel="self"></link><id>https://www.guguweb.com/</id><updated>2022-03-02T15:47:12+01:00</updated><subtitle>Freelance developer and sysadmin</subtitle><entry><title>Django on a production server</title><link href="https://www.guguweb.com/2020/05/08/django-on-a-production-server/" rel="alternate"></link><published>2020-05-08T10:34:43+00:00</published><updated>2022-03-02T15:47:12+01:00</updated><author><name>augusto</name></author><id>tag:www.guguweb.com,2020-05-08:/2020/05/08/django-on-a-production-server/</id><summary type="html">&lt;p&gt;Is your Django project ready for production? Follow these guides to bring your Django project on a production server!&lt;/p&gt;
&lt;p&gt;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 …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Is your Django project ready for production? Follow these guides to bring your Django project on a production server!&lt;/p&gt;
&lt;p&gt;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. 😉&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;h2 id="1-django-nginx-deploy-your-django-project-on-a-production-server"&gt;1. &lt;a href="/2019/11/13/django-nginx-deploy-your-django-project-on-a-production-server/"&gt;Django NGINX: deploy your Django project on a production server&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This tutorial will give you the basics on deployment using the &lt;a href="https://www.nginx.com/"&gt;NGINX webserver&lt;/a&gt; and &lt;a href="https://uwsgi-docs.readthedocs.io/en/latest/"&gt;uWSGI application server&lt;/a&gt;.&lt;/p&gt;
&lt;div class="row"&gt;
    &lt;div class="col-12 col-sm-8 col-md-6 mx-auto"&gt;
        &lt;div class="card my-5"&gt;
    &lt;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"&gt;
    &lt;div class="card-body"&gt;
      &lt;h5 class="card-title"&gt;Django NGINX: deploy your Django project on a production server&lt;/h5&gt;
      &lt;a href="/2019/11/13/django-nginx-deploy-your-django-project-on-a-production-server/" class="btn btn-link stretched-link"&gt;Read more...&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="2-how-to-deploy-a-django-project-in-15-minutes-with-ansible"&gt;2. &lt;a href="/2017/05/02/how-to-deploy-a-django-project-in-15-minutes-with-ansible/"&gt;How to deploy a Django project in 15 minutes with Ansible&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;This tutorial will make a step further and will show you how to leverage the power of &lt;a href="https://www.ansible.com/"&gt;Ansible&lt;/a&gt; to automate all the steps needed for a production deployment.&lt;/p&gt;
&lt;div class="row"&gt;
    &lt;div class="col-12 col-sm-8 col-md-6 mx-auto"&gt;
        &lt;div class="card my-5"&gt;
    &lt;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"&gt;
    &lt;div class="card-body"&gt;
      &lt;h5 class="card-title"&gt;How to deploy a Django project in 15 minutes with Ansible&lt;/h5&gt;
      &lt;a href="/2017/05/02/how-to-deploy-a-django-project-in-15-minutes-with-ansible/" class="btn btn-link stretched-link"&gt;Read more...&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="3-bitbucket-pipelines-and-ansible-continuous-delivery-for-your-django-project"&gt;3. &lt;a href="/2020/01/03/bitbucket-pipelines-and-ansible-continuous-delivery-for-your-django-project/"&gt;Bitbucket Pipelines and Ansible: Continuous delivery for your Django project&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If you are using &lt;a href="https://bitbucket.org/"&gt;Bitbucket&lt;/a&gt; you can automate the deployment when you push some code on your repository.&lt;/p&gt;
&lt;div class="row"&gt;
    &lt;div class="col-12 col-sm-8 col-md-6 mx-auto"&gt;
        &lt;div class="card my-5"&gt;
    &lt;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"&gt;
    &lt;div class="card-body"&gt;
      &lt;h5 class="card-title"&gt;Bitbucket Pipelines and Ansible: Continuous delivery for your Django project&lt;/h5&gt;
      &lt;a href="/2020/01/03/bitbucket-pipelines-and-ansible-continuous-delivery-for-your-django-project/" class="btn btn-link stretched-link"&gt;Read more...&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;h2 id="4-django-asynchronous-tasks-without-celery"&gt;4. &lt;a href="/2019/11/21/django-asynchronous-tasks-without-celery/"&gt;Django asynchronous tasks without Celery&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Did you know that &lt;a href="https://uwsgi-docs.readthedocs.io/en/latest/"&gt;uWSGI&lt;/a&gt; provides a production ready task queue? In this tutorial I explain how to configure and use it for your Django asyncronous tasks.&lt;/p&gt;
&lt;div class="row"&gt;
    &lt;div class="col-12 col-sm-8 col-md-6 mx-auto"&gt;
        &lt;div class="card my-5"&gt;
    &lt;img src="/images/2019/11/thumbnails/400x_/logistics-852936_1920.jpg" class="card-img-top" alt="Django asynchronous tasks without Celery"&gt;
    &lt;div class="card-body"&gt;
      &lt;h5 class="card-title"&gt;Django asynchronous tasks without Celery&lt;/h5&gt;
      &lt;a href="/2019/11/21/django-asynchronous-tasks-without-celery/" class="btn btn-link stretched-link"&gt;Read more...&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;</content><category term="web"></category><category term="django"></category><category term="guide"></category><category term="production"></category></entry></feed>