zed/docs/old/local-collaboration.md
Max Brunsfeld 7986ee18cd Rename zed2 -> zed
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 10:14:19 -08:00

788 B

Local Collaboration

Setting up the local collaboration server

Setting up for the first time?

  1. Make sure you have livekit installed (brew install livekit)
  2. Install Postgres and run it.
  3. Then, from the root of the repo, run script/bootstrap.

Have a db that is out of date? / Need to migrate?

  1. Make sure you have livekit installed (brew install livekit)
  2. Try cd crates/collab && cargo run -- migrate from the root of the repo.
  3. Run script/seed-db

Testing collab locally

  1. Run foreman start from the root of the repo.
  2. In another terminal run script/zed-local.
  3. Two copies of Zed will open. Add yourself as a contact in the one that is not you.
  4. Start a collaboration session as normal with any open project.