local-collaboration.md

 1# Local Collaboration
 2
 3## Setting up the local collaboration server
 4
 5### Setting up for the first time?
 6
 7Install [Postgres](https://postgresapp.com) and run it.
 8
 9Then, from the root of the repo, run `script/bootstrap`.
10
11### Have a db that is out of date? / Need to migrate?
12
13Try `cd crates/collab && cargo run -- migrate` from the root of the repo.
14
15## Testing collab locally
16
171. Run `foreman start` from the root of the repo.
181. In another terminal run `script/start-local-collaboration`.
191. Two copies of Zed will open. Add yourself as a contact in the one that is not you.
201. Start a collaboration session as normal with any open project.