From 7ba37052b7ba8d65f44d6b15ea3025a000f7fe26 Mon Sep 17 00:00:00 2001 From: CrazyWolf13 Date: Mon, 11 May 2026 13:56:08 +0200 Subject: [PATCH] fix: flame --- ct/flame.sh | 5 ++--- install/flame-install.sh | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ct/flame.sh b/ct/flame.sh index 59836adf..ec3da912 100644 --- a/ct/flame.sh +++ b/ct/flame.sh @@ -49,13 +49,12 @@ function update_script() { msg_info "Rebuilding Application" cd /opt/flame - $STD npm run init-server + $STD npm run dev-init cd /opt/flame/client - $STD npm install $STD npm run build cd /opt/flame - mkdir -p public cp -r client/build/. public/ + $STD npm rebuild sqlite3 msg_ok "Rebuilt Application" msg_info "Starting Service" diff --git a/install/flame-install.sh b/install/flame-install.sh index 834c12a3..43854336 100644 --- a/install/flame-install.sh +++ b/install/flame-install.sh @@ -19,13 +19,13 @@ fetch_and_deploy_gh_release "flame" "pawelmalak/flame" "tarball" msg_info "Setting up Flame" cd /opt/flame -$STD npm run init-server +$STD npm run dev-init cd /opt/flame/client -$STD npm install $STD npm run build cd /opt/flame -mkdir -p public data cp -r client/build/. public/ +$STD npm rebuild sqlite3 +touch public/flame.css public/customQueries.json cat </opt/flame/.env NODE_ENV=production PASSWORD=