diff --git a/ct/pangolin.sh b/ct/pangolin.sh index 51a8c7447..bba80bf17 100644 --- a/ct/pangolin.sh +++ b/ct/pangolin.sh @@ -48,7 +48,8 @@ function update_script() { $STD npm run set:sqlite $STD npm run set:oss rm -rf server/private - $STD npm run build:sqlite + $STD npm run db:generate + $STD npm run build $STD npm run build:cli cp -R .next/standalone ./ chmod +x ./dist/cli.mjs diff --git a/install/pangolin-install.sh b/install/pangolin-install.sh index dc18541a4..dd6817525 100644 --- a/install/pangolin-install.sh +++ b/install/pangolin-install.sh @@ -36,7 +36,8 @@ $STD npm ci $STD npm run set:sqlite $STD npm run set:oss rm -rf server/private -$STD npm run build:sqlite +$STD npm run db:generate +$STD npm run build $STD npm run build:cli cp -R .next/standalone ./ @@ -177,7 +178,7 @@ http: servers: - url: "http://$LOCAL_IP:3000" EOF -$STD npm run db:sqlite:generate +$STD npm run db:generate $STD npm run db:sqlite:push . /etc/os-release