© 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 
(1)
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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.