From be4dbfb10762785ec772b2473f99203b0383b3af Mon Sep 17 00:00:00 2001 From: rra Date: Tue, 16 Apr 2024 14:34:22 +0200 Subject: [PATCH] add gunicorn install to production docs --- INSTALL.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 1c896b18..40902d35 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -214,6 +214,13 @@ Once you have ngrok working, edit the `.env` file and change the `SERVER_NAME` v ## Running PieFed in production +Running PieFed in production relies on several additional packages that need to be installed. + +```bash +source venv/bin/activate #if not already in virtual environment +pip3 install gunicorn celery +``` + Copy `celery_worker.default.py` to `celery_worker.py`. Edit `DATABASE_URL` and `SERVER_NAME` to have the same values as in `.env`. Edit `gunicorn.conf.py` and change `worker_tmp_dir` if needed.