November 2014
Intermediate to advanced
258 pages
5h 15m
English
First, we will learn how to deploy a Flask application with Apache, which is, unarguably, the most popular HTTP server. For Python web applications, we will use mod_wsgi, which implements a simple Apache module that can host any Python applications that support the WSGI interface.
Remember that mod_wsgi is not the same as Apache and needs to be installed separately.
We will start with our catalog application and make appropriate changes to it to make it deployable using the Apache HTTP server.
First, we should make our application installable so that our application and all its libraries are on the Python load path. This can be done using a setup.py script, as seen in the Making a Flask app installable using ...
Read now
Unlock full access