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