From 176717c0642f5687d9d5df9ae8abf90d0a7a4ed9 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 12 Nov 2020 16:00:07 +1100 Subject: [PATCH] Add warning for gunicorn setup --- docs/start/deploy.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/start/deploy.md b/docs/start/deploy.md index 74f248f..173cc17 100644 --- a/docs/start/deploy.md +++ b/docs/start/deploy.md @@ -47,6 +47,9 @@ Gunicorn can be installed using PIP: pip3 install gunicorn ``` +!!! warning "Python Environment" + Ensure that gunicorn is installed within the same python environment context as the InvenTree install - otherwise gunicorn will not be able to import the correct python modules. + ### Configure Static Directories Directories for storing *media* files and *static* files should be specified in the ``config.yaml`` configuration file. These directories are the ``MEDIA_ROOT`` and ``STATIC_ROOT`` paths required by the Django app. Ensure that both of these directories are correctly configured for your setup.