Pangolin: add update procedure

This commit is contained in:
tremor021
2025-10-26 23:08:29 +01:00
parent a4a39c66c3
commit d2bbc3472d
2 changed files with 48 additions and 5 deletions

View File

@@ -39,7 +39,12 @@ $STD node esbuild.mjs -e server/index.ts -o dist/server.mjs -b $BUILD
$STD node esbuild.mjs -e server/setup/migrationsSqlite.ts -o dist/migrations.mjs
$STD npm run build:cli
cp -R .next/standalone ./
cp ./cli/wrapper.sh /usr/local/bin/pangctl
cat <<EOF >/usr/local/bin/pangctl
#!/bin/sh
cd /opt/pangolin
./dist/cli.mjs "$@"
EOF
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
cp server/db/names.json ./dist/names.json