mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
Add warning for gunicorn setup
This commit is contained in:
parent
c58e21b667
commit
176717c064
@ -47,6 +47,9 @@ Gunicorn can be installed using PIP:
|
|||||||
pip3 install gunicorn
|
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
|
### 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.
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user