From a67eba9fedb82b894e9ea98802d50a9385274923 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Tue, 27 Jun 2023 09:51:30 -0400 Subject: [PATCH] Create local-collaboration.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I forget how to do this every single time 😅 --- docs/local-collaboration.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/local-collaboration.md diff --git a/docs/local-collaboration.md b/docs/local-collaboration.md new file mode 100644 index 0000000000..bedaa1f7f1 --- /dev/null +++ b/docs/local-collaboration.md @@ -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.