diff --git a/ct/pangolin.sh b/ct/pangolin.sh index 983d32a8b..24f2b4651 100644 --- a/ct/pangolin.sh +++ b/ct/pangolin.sh @@ -51,7 +51,7 @@ function update_script() { $STD npm run db:generate $STD npm run build $STD npm run build:cli - $STD npm run db:sqlite:push + $STD npm run db:push cp -R .next/standalone ./ chmod +x ./dist/cli.mjs cp server/db/names.json ./dist/names.json diff --git a/install/pangolin-install.sh b/install/pangolin-install.sh index 82f10e953..301ba2bf2 100644 --- a/install/pangolin-install.sh +++ b/install/pangolin-install.sh @@ -36,7 +36,7 @@ $STD npm ci $STD npm run set:sqlite $STD npm run set:oss rm -rf server/private -$STD npm run db:sqlite:generate +$STD npm run db:generate $STD npm run build $STD npm run build:cli cp -R .next/standalone ./ @@ -178,7 +178,7 @@ http: servers: - url: "http://$LOCAL_IP:3000" EOF -$STD npm run db:sqlite:push +$STD npm run db:push . /etc/os-release if [ "$VERSION_CODENAME" = "trixie" ]; then