Chapter 13. Deploying Django

This chapter covers the last essential step of building a Django application: deploying it to a production server.

If you've been following along with our ongoing examples, you've likely been using the runserver, which makes things very easy-with runserver, you don't have to worry about web server setup. But runserver is intended only for development on your local machine, not for exposure on the public web.

To deploy your Django application, you'll need to hook it into an industrial-strength web server such as Apache. In this chapter, we'll show you how to do that-but, first, we'll give you a checklist of things to do in your codebase before you go live.

Preparing your codebase for production

Deployment checklist

The Internet ...

Get Mastering Django: Core 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.