Chapter 11. When it's Time to Go Live: Moving to Production
The final topic we will cover on the subject of testing and debugging Django applications is the move to production. When the application code is all written, fully tested and debugged, it is time to set up a production web server and make the application accessible to real users. Since the application has been fully tested and debugged during development, this should be straightforward, right? Unfortunately, not always. There are a number of differences between a production web server environment and the Django development server environment. These differences can cause problems during the move to production. In this chapter, we will see what some of these differences are, what types of problems they can cause, and how to overcome them. Specifically, we will:
Configure an Apache web server with
mod_wsgi
to run the samplemarketr
project.Encounter a number of issues during development of the Apache configuration. For each, we will...