Deploying Python3 Flask App On Apache 2 (Fedora 35 Server)

Since I’m more familiar with the apache web server on fedora, here’s the way to setup the server and deploy a flask app.

There are two ways for doing this, one by installing the wsgi module in apache, then configuring it, while the other method installs the wsgi module via pip, so it’s installed inside your python environment.

I’ll go with the first method, here. [more on the subject can be found in the mod_wsgi — mod_wsgi 4.9.0 documentation]

Continue…

Python Flask – Quick Start

Flask is a python framework to make it easier to handle client requests and create proper server responses. In it’s simplest form, Flask is a module that will enable your application to interact with a client via HTTP protocols.

Continue…