In this book, we will not cover how to install Django. For those of you who are new to Django, the best way to install Django is to follow the official installation documentation. For the purposes of this book, you should follow the installation guidelines documented in the Django pip installation documentation. In addition, we are using an Apache 2.4 web server.Â
In the Docker container we'll be using to demonstrate the concepts in this book, Python, PyMongo, Apache, mod_wsgi, and Django are already installed. A discussion of how to configure the web server to use Django is included since you need to know how to do this when setting up Django on a customer website.
Django installation documentation: https://docs.djangoproject.com/en/2.2/topics/install/#how-to-install-django
Django pip installation: https://docs.djangoproject.com/en/2.2/topics/install/#installing-an-official-release-with-pip
Django pip installation: https://docs.djangoproject.com/en/2.2/topics/install/#installing-an-official-release-with-pip