From 2010c92b614cab088b70ab4dc00f0ad1513c8958 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 8 Feb 2024 03:59:39 +0100 Subject: [PATCH] docs: fix web development setup instructions (#6969) --- docs/docs/developer/setup.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/docs/developer/setup.md b/docs/docs/developer/setup.md index 7a271d980c..dc61c37d42 100644 --- a/docs/docs/developer/setup.md +++ b/docs/docs/developer/setup.md @@ -58,12 +58,13 @@ Please refer to the [Flutter's official documentation](https://flutter.dev/docs/ If you only want to do web development connected to an existing, remote backend, follow these steps: -1. Enter the web directory - `cd web/` -2. Install web dependencies - `npm i` -3. Start the web development server +1. Build the Immich SDK - `cd open-api/typescript-sdk && npm i && npm run build && cd -` +2. Enter the web directory - `cd web/` +3. Install web dependencies - `npm i` +4. Start the web development server -``` -IMMICH_SERVER_URL=https://demo.immich.app/api npm run dev +```bash +IMMICH_SERVER_URL=https://demo.immich.app/ npm run dev ``` ## IDE setup