Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

João Marcos39d45bcbc168
diff --git a/docs/src/development/local-collaboration.md b/docs/src/development/local-collaboration.md
index 776619eb6e1..9a8dedf0b5d 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`.