From 025b7d2912c12689b1e082c6ec43c844fe6b85be Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Sat, 16 Apr 2022 20:27:40 +0530 Subject: [PATCH] Gunicorn --- DEPLOY.md | 11 +++++++++++ requirements.txt | 1 + 2 files changed, 12 insertions(+) create mode 100644 DEPLOY.md diff --git a/DEPLOY.md b/DEPLOY.md new file mode 100644 index 0000000..6dbd375 --- /dev/null +++ b/DEPLOY.md @@ -0,0 +1,11 @@ +# Deploying + +It is highly recommended to run the application behind a reverse proxy. + +Here we will use `nginx`, `gunicorn` a WSGI standalone server and decide between `supervisord` and `systemd`. + +## Install gunicorn + +* Check that you are still in the virtual environment. +* `pip install gunicorn`. +* TODO \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 13bfc39..ab6ab17 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ click==8.0.1 Flask==2.0.1 Flask-WTF==0.15.1 +gunicorn==20.1.0 irctokens==2.0.0 itsdangerous==2.0.1 Jinja2==3.0.1