diff --git a/ct/karakeep.sh b/ct/karakeep.sh index 5461fb7ad..c358f30e4 100644 --- a/ct/karakeep.sh +++ b/ct/karakeep.sh @@ -54,10 +54,15 @@ function update_script() { mv karakeep-"${RELEASE}" /opt/karakeep cd /opt/karakeep/apps/web $STD pnpm install --frozen-lockfile - $STD pnpm exec next build --experimental-build-mode compile - cp -r /opt/karakeep/apps/web/.next/standalone/apps/web/server.js /opt/karakeep/apps/web + $STD pnpm build cd /opt/karakeep/apps/workers $STD pnpm install --frozen-lockfile + cd /opt/karakeep/apps/cli + $STD pnpm install --frozen-lockfile + $STD pnpm build + cd /opt/karakeep/apps/mcp + $STD pnpm install --frozen-lockfile + $STD pnpm build export DATA_DIR=/opt/karakeep_data cd /opt/karakeep/packages/db $STD pnpm migrate diff --git a/install/karakeep-install.sh b/install/karakeep-install.sh index 073bacba6..a6c22a699 100644 --- a/install/karakeep-install.sh +++ b/install/karakeep-install.sh @@ -71,10 +71,15 @@ export NEXT_TELEMETRY_DISABLED=1 export CI="true" cd /opt/karakeep/apps/web $STD pnpm install --frozen-lockfile -$STD pnpm exec next build --experimental-build-mode compile -cp -r /opt/karakeep/apps/web/.next/standalone/apps/web/server.js /opt/karakeep/apps/web +$STD pnpm build cd /opt/karakeep/apps/workers $STD pnpm install --frozen-lockfile +cd /opt/karakeep/apps/cli +$STD pnpm install --frozen-lockfile +$STD pnpm build +cd /opt/karakeep/apps/mcp +$STD pnpm install --frozen-lockfile +$STD pnpm build export DATA_DIR=/opt/karakeep_data karakeep_SECRET=$(openssl rand -base64 36 | cut -c1-24)