README: Also run db upgrade after git pull!

This commit is contained in:
Mia Herkt 2022-11-29 17:23:56 +01:00
parent db9a20c94d
commit aa443178e1
No known key found for this signature in database
GPG Key ID: 72E154B8622EC191

View File

@ -44,7 +44,8 @@ now and then. You can use the provided systemd unit files for this::
Make sure to edit them to match your system configuration. In particular, Make sure to edit them to match your system configuration. In particular,
set the user and paths in ``0x0-prune.service``. set the user and paths in ``0x0-prune.service``.
Before running the service for the first time, run ``FLASK_APP=fhost flask db upgrade``. Before running the service for the first time and every time you update it
from this git repository, run ``FLASK_APP=fhost flask db upgrade``.
NSFW Detection NSFW Detection