Tue 28 February 2017

Install and configure a full software stack for a Flask app: Apache, Gunicorn, MongoDB, Redis
A few days ago, I had to deploy a new Flask application for a customer and here are some notes which could be useful for somebody, as well. I will show how everything is configured, even if here, in this tutorial, I have just a minimal Flask app, in one ...

Mon 10 October 2016

Deploy your Flask Web Application on Ubuntu 16.04 with Apache, Gunicorn and systemd
I still get questions from time to time about how to deploy a python web application using Apache and not NGINX. Here is a quick tutorial to deploy your Flask application on Ubuntu 16.04 or any linux distribution (considering relevant changes) using Apache, Gunicorn and systemd. Until some weeks ...

Sun 23 November 2008

Mod_python on OpenSUSE 11.0
Mod_python is an Apache module that embeds the Python interpreter within the server. Here is step by step what I did to configure it for OpenSUSE 11.0: 1. Install mod_python: $ sudo zypper in apache2-mod_python 2. Enable mod_python: edit /etc/sysconfig/apache2 and add python to the APACHE_MODULES line, so ...