mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
Create local-collaboration.md
I forget how to do this every single time 😅
This commit is contained in:
parent
04d93dfbd9
commit
a67eba9fed
1 changed files with 20 additions and 0 deletions
20
docs/local-collaboration.md
Normal file
20
docs/local-collaboration.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Local Collaboration
|
||||||
|
|
||||||
|
## Setting up the local collaboration server
|
||||||
|
|
||||||
|
### Setting up for the first time?
|
||||||
|
|
||||||
|
Install [Postgres](https://postgresapp.com) and run it.
|
||||||
|
|
||||||
|
Then, from the root of the repo, run `script/bootstrap`.
|
||||||
|
|
||||||
|
### Have a db that is out of date? / Need to migrate?
|
||||||
|
|
||||||
|
Try `cd crates/collab && cargo run -- migrate` from the root of the repo.
|
||||||
|
|
||||||
|
## Testing collab locally
|
||||||
|
|
||||||
|
1. Run `foreman start` from the root of the repo.
|
||||||
|
1. In another terminal run `script/start-local-collaboration`.
|
||||||
|
1. Two copies of Zed will open. Add yourself as a contact in the one that is not you.
|
||||||
|
1. Start a collaboration session as normal with any open project.
|
Loading…
Reference in a new issue