Skip to content

Commit

Permalink
Update docs for running collab locally (again) (#24069)
Browse files Browse the repository at this point in the history
Release Notes:

- N/A
  • Loading branch information
marcospb19 authored Feb 1, 2025
1 parent d0152f9 commit 39d45bc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/src/development/local-collaboration.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,19 @@ Ensure that Postgres is configured and running, then run Zed's collaboration ser
```sh
foreman start
# 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
```

In a new terminal, run two or more instances of Zed.

```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`.
Expand Down

0 comments on commit 39d45bc

Please sign in to comment.