Update docs for running collab locally (again) (#24069)

Release Notes:

- N/A
This commit is contained in:
João Marcos 2025-02-01 01:57:44 -03:00 committed by GitHub
parent d0152f9eb4
commit 39d45bcbc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,13 +50,19 @@ Ensure that Postgres is configured and running, then run Zed's collaboration ser
```sh ```sh
foreman start foreman start
# OR # OR
docker compose up
```
Alternatively, if you're not testing voice and screenshare, you can just run `collab`, and not the `livekit` dev server:
```sh
cargo run -p collab -- serve all cargo run -p collab -- serve all
``` ```
In a new terminal, run two or more instances of Zed. In a new terminal, run two or more instances of Zed.
```sh ```sh
script/zed-local -2 script/zed-local -3
``` ```
This script starts one to four instances of Zed, depending on the `-2`, `-3` or `-4` flags. Each instance will be connected to the local `collab` server, signed in as a different user from `.admins.json` or `.admins.default.json`. This script starts one to four instances of Zed, depending on the `-2`, `-3` or `-4` flags. Each instance will be connected to the local `collab` server, signed in as a different user from `.admins.json` or `.admins.default.json`.