© Federico Marani 2019
Federico MaraniPractical Django 2 and Channels 2https://doi.org/10.1007/978-1-4842-4099-1_10

10. How to Deploy Django Sites

Federico Marani1 
London, UK

In this chapter we will take what we have built so far and deploy it to production. Production systems are those whose purpose is to be utilized by end users.

Generally, we can have many environments available on the Internet, depending on their audience. Some commonly used environments are “production” for the live site and “staging” for the upcoming release, normally accessible to only a select number of people.

This chapter presents a way to deploy an environment regardless of its purpose.

Minifying JS/CSS

The first good practice when you deploy a website is to make sure ...

Get Practical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.