fireshare: add update function

This commit is contained in:
tremor021
2026-04-21 10:24:03 +02:00
parent 4da3cdf4f6
commit 8603e4ce18
2 changed files with 33 additions and 0 deletions

View File

@@ -109,6 +109,7 @@ $STD .venv/bin/python -m pip install --no-cache-dir --break-system-packages --ig
cp .venv/bin/fireshare /usr/local/bin/fireshare
export FLASK_APP="/opt/fireshare/app/server/fireshare:create_app()"
export DATA_DIRECTORY=/opt/fireshare-data
export IMAGE_DIRECTORY=/opt/fireshare-images
export VIDEO_DIRECTORY=/opt/fireshare-videos
export PROCESSED_DIRECTORY=/opt/fireshare-processed
$STD uv run flask db upgrade