Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk
25a739e761 Fireshare: rebuild frontend on update to fix 500 after update 2026-05-30 21:53:06 +02:00
3 changed files with 3 additions and 2 deletions

View File

@@ -53,6 +53,9 @@ function update_script() {
export VIDEO_DIRECTORY=/opt/fireshare-videos
export PROCESSED_DIRECTORY=/opt/fireshare-processed
$STD uv run flask db upgrade
cd /opt/fireshare/app/client
$STD npm install
$STD npm run build
msg_ok "Updated Fireshare"
msg_info "Starting Service"

View File

@@ -47,7 +47,6 @@ function update_script() {
$STD npm run build
cd /opt/flatnotes
rm -f uv.lock
sed -i 's/^name = ""$/name = "flatnotes"/' pyproject.toml
$STD /usr/local/bin/uvx migrate-to-uv
$STD /usr/local/bin/uv sync
msg_ok "Updated Flatnotes"

View File

@@ -19,7 +19,6 @@ NODE_VERSION="22" setup_nodejs
msg_info "Setting up Flatnotes"
cd /opt/flatnotes
sed -i 's/^name = ""$/name = "flatnotes"/' pyproject.toml
$STD /usr/local/bin/uvx migrate-to-uv
$STD /usr/local/bin/uv sync
mkdir -p /opt/flatnotes/data