Introduction

In this section you will find guides for installing the Genropy framework in a GNU/Linux production environment

The production installation involves the use of Nginx and Gunicorn

Nginx

Nginx is an Http server and the production installation of Genropy uses it as a reverse proxy to the WSGI gunicorn server.

On distributions derived from Debian the nginx package can be installed simply using the apt command:

sudo apt update
sudo apt install nginx

For other distributions or to always have the latest version of Nginx we recommend visiting the relevant official documentation page https://www.nginx.com/resources/wiki/start/topics/tutorials/install/

Gunicorn

Gunicorn is a WSGI server written in python and is available as a python package and is automatically installed when you install Genropy. In the section The gunicorn.py file the gunicorn parameters will be shown

Certbot

To serve applications via https and create certificates we recommend using Certbot, which can be installed by following the simple official instructions https://certbot.eff.org

The deploybuilder command

To simplify the installation operations in production we have created a script, called deploybuilder whose use will allow you to automatically create the Nginx and Gunicorn configuration and to create the configurations needed to start everything needed when the server starts.