From 39d45bcbc16803d04d7eea837cf1471de5a383b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marcos?= Date: Sat, 1 Feb 2025 01:57:44 -0300 Subject: [PATCH] Update docs for running collab locally (again) (#24069) Release Notes: - N/A --- docs/src/development/local-collaboration.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/src/development/local-collaboration.md b/docs/src/development/local-collaboration.md index 776619eb6e19a6..9a8dedf0b5d409 100644 --- a/docs/src/development/local-collaboration.md +++ b/docs/src/development/local-collaboration.md @@ -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`.