Django in Production – From Zero To Hero.

I released a mini course about Deploying Django application on single host. Each and every step is explained in lots of detail. There are 5 parts.

[Part 5](https://django-lessons.com/lesson/lesson-22-django-deploy-production-step-by-step-from-zero-to-hero-part-5-gunicorn) \- is the most important and most interesting - it focuses on configuring gunicorn + nginx on production VPS \[<-- my favorite part 🙂 \] [Part 4](https://django-lessons.com/lesson/lesson-21-django-deploy-production-step-by-step-from-zero-to-hero-part-4) \- install and configure DB manually and with Ansible [Part 3](https://django-lessons.com/lesson/lesson-20-django-deploy-production-step-by-step-from-zero-to-hero-part-3) \- a short introduction to Ansible and how it is useful for automation of Django deployments [Part 2](https://django-lessons.com/lesson/lesson-19-django-deploy-production-step-by-step-from-zero-to-hero-part-2) \- Nginx theory, installation and configuration [Part 1](https://django-lessons.com/lesson/lesson-18-django-deploy-production-step-by-step-from-zero-to-hero-part-1) \- VPS up and running with secure SSH configuration and access in just 11 minutes. [Youtube playlist](https://www.youtube.com/playlist?list=PLlM3i4cwc8zBRQOGXuLrCLNfpVOuVLuwZ) is here. In near future I will introduce the concept of "Course" on Django Lessons and I will be able to share that sort of info with just one URL :)) Enjoy Django in Production! \[Edited 4th March 2020\] Thank you for your kind support! I am really happy to be part of /r/django fantastic community!

7 thoughts on “Django in Production – From Zero To Hero.”

  1. Don’t you think that these times maybe is better and easier to deploy Django inside containers? Not necessarily with Kubernetes: a docker compose will do.

    Reply
  2. Without having watched these videos, I have a quick question.

    I deployed a project in Dreamhost, and when I change Debug from True to False media files are recognized anymore.

    Any tip to this?

    Reply
  3. Just learning Python and Django and working towards deployment. Hopefully another week or so. I’ll check this out. Ty. Ty. Ty.

    Reply
  4. Thanks for this!
    Quick question, on which case would you deploy using AWS Elastic Beanstalk which is more hands off, and a VPS where there are lots of things you have to do by yourself?

    Reply
  5. Thanks for sharing this!

    Maybe it is due to a lack of trying hard enough to search, but I feel there aren’t enough tutorials / resources that can get you from local Django project to production Django project with proper security.

    Edit: Clarified that the lack of trying was on me searching for those types of tutorials.

    Reply

Leave a Comment