mirror of
https://github.com/YunoHost-Apps/django-fmd_ynh.git
synced 2024-09-03 18:26:27 +02:00
1.1 KiB
1.1 KiB
Settings and upgrades
Almost everything related to django-fmd's configuration is handled in a "../conf/settings.py"
file.
You can edit the file /opt/yunohost/django-fmd/local_settings.py
to enable or disable features.
Test sending emails:
ssh admin@yourdomain.tld
root@yunohost:~# cd /opt/yunohost/django-fmd/
root@yunohost:/opt/yunohost/django-fmd# source venv/bin/activate
(venv) root@yunohost:/opt/yunohost/django-fmd# ./manage.py sendtestemail --admins
Background info: Error mails are send to all settings.ADMINS. By default the YunoHost admin is inserted here. To check current ADMINS run:
(venv) root@yunohost:/opt/yunohost/django-fmd# ./manage.py sendtestemail --admins
If you prefere to send error emails to a extrnal email address, just do something like this:
echo "ADMINS = (('Your Name', 'example@domain.tld'),)" >> /opt/yunohost/django-fmd/local_settings.py
To check the effective settings, run this:
(venv) root@yunohost:/opt/yunohost/django-fmd# ./manage.py diffsettings