Configure Mail Settings (Optional)
Configure to enable password reset requests via email. If login username is not the same as your email address, you need to configure 'ADMIN' in config.py.
cd Tamari
source venv/bin/activate
export MAIL_SERVER=mail.example.com
export MAIL_PORT=587
export MAIL_USE_TLS=1
export [email protected]
export MAIL_PASSWORD=yourpassword
If running as a systemd service, make your service file look like the following (You must change “USERNAME”):
[Unit]
Description=Tamari Recipe Manager
After=syslog.target network.target
[Service]
Type=simple
WorkingDirectory=/home/USERNAME/Tamari
Environment="MAIL_SERVER=mail.example.com"
Environmnet="MAIL_PORT=587"
Environment="MAIL_USE_TLS=1"
Environment="[email protected]"
Environment="MAIL_PASSWORD=yourpassword"
ExecStart=/home/USERNAME/Tamari/start.sh
Restart=always
RestartSec=15
[Install]
WantedBy=multi-user.target