docs: fix web development setup instructions (#6969)

This commit is contained in:
Lukas 2024-02-08 03:59:39 +01:00 committed by GitHub
parent b74c84e771
commit 2010c92b61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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