14
Going Live
In the previous chapter, you built a real-time chat server for students using Django Channels. Now that you have created a fully functional e-learning platform, you need to set up a production environment on an online server so that it can be accessed over the Internet. Until now, you have been working in a development environment, using the Django development server to run your site. In this chapter, you will learn how to set up a production environment that is able to serve your Django project in a secure and efficient manner.
This chapter will cover the following topics:
- Configuring a production environment
- Creating a custom middleware
- Implementing custom management commands
Creating a production environment
It's time to deploy ...
Get Django 3 By Example - Third Edition 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.