mayan_settings folder not created upon Direct Deployment
When following the direct deployment documentation after installation the mayan_settings folder isn't created in my own mayan folder (/data/.envs/mayan3.7) so the explanation of adding custom config settings as explained in Settings Documentation doesn't work.
Also recreating the folder and make it a module with the __init__.py
in it doesn't work.
> root@localhost:/data/.envs/mayan3.7/media/mayan_settings# ll
> total 8
> drwxr-xr-x 1 mayan mayan 48 dec 14 10:37 ./
> drwxrwxr-x 1 mayan mayan 226 dec 14 10:40 ../
> -rw-rw-r-- 1 mayan mayan 72 dec 14 10:29 __init__.py
> -rw-r--r-- 1 mayan mayan 94 dec 14 10:33 mysettings.py
> root@localhost:/data/.envs/mayan3.7/media/mayan_settings# cat __init__.py
> root@localhost:/data/.envs/mayan3.7/media/mayan_settings# cat mysettings.py
> from mayan.settings.production import *
> [supervisord]
> environment=
> COMMON_PAGINATE_BY=100
> root@localhost:/data/.envs/mayan3.7/media/mayan_settings#
> root@localhost:~$ head -n 5 /etc/supervisor/conf.d/mayan.conf
> [supervisord]
> environment=
> PYTHONPATH="/data/.envs/mayan3.7/media/mayan_settings",
> DJANGO_SETTINGS_MODULE=mayan.media.mayan_settings.mysettings,
> MAYAN_MEDIA_ROOT="/data/.envs/mayan3.7/media",
Obviously the server isn't running as mayan.settings.production
isn't loaded now
Edited by Bw