This commit is contained in:
Min Idzelis
2025-03-22 12:48:50 +00:00
parent 6a8e38042d
commit 442f11c9e1
12 changed files with 179 additions and 51 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
export IMMICH_PORT="${DEV_SERVER_PORT:-2283}"
export DEV_PORT="${DEV_PORT:-3000}"
sudo chown node -R /immich/cli/node_modules /immich/e2e/node_modules /immich/open-api/typescript-sdk/node_modules /immich/server/node_modules /immich/web/node_modules /mnt/upload
echo "Installing dependencies (server)"
npm --prefix /immich/server install
echo "Installing dependencies (web)"
npm --prefix /immich/open-api/typescript-sdk install
npm --prefix /immich/open-api/typescript-sdk run build
npm --prefix /immich/web install