Docs Party 2024 (#15876)
Co-authored-by: Raunak Raj <nkray21111983@gmail.com> Co-authored-by: Thorsten Ball <mrnugget@gmail.com> Co-authored-by: Bennet <bennet@zed.dev> Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Joseph T Lyons <JosephTLyons@gmail.com> Co-authored-by: Mikayla <mikayla@zed.dev> Co-authored-by: Jason <jason@zed.dev> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Nathan Sobo <nathan@zed.dev> Co-authored-by: Jason Mancuso <7891333+jvmncs@users.noreply.github.com> Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
parent
c633fa5a10
commit
eb3c4b0e46
100 changed files with 2564 additions and 457 deletions
|
@ -10,7 +10,7 @@ First, make sure you've installed Zed's backend dependencies for your platform:
|
|||
|
||||
Before you can run the `collab` server locally, you'll need to set up a `zed` Postgres database.
|
||||
|
||||
```
|
||||
```sh
|
||||
script/bootstrap
|
||||
```
|
||||
|
||||
|
@ -18,7 +18,7 @@ This script will set up the `zed` Postgres database, and populate it with some u
|
|||
|
||||
The script will seed the database with various content defined by:
|
||||
|
||||
```
|
||||
```sh
|
||||
cat crates/collab/seed.default.json
|
||||
```
|
||||
|
||||
|
@ -35,18 +35,14 @@ To use a different set of admin users, you can create your own version of that j
|
|||
|
||||
In one terminal, run Zed's collaboration server and the `livekit` dev server:
|
||||
|
||||
```
|
||||
|
||||
```sh
|
||||
foreman start
|
||||
|
||||
```
|
||||
|
||||
In a second terminal, run two or more instances of Zed.
|
||||
|
||||
```
|
||||
|
||||
```sh
|
||||
script/zed-local -2
|
||||
|
||||
```
|
||||
|
||||
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`.
|
||||
|
@ -55,7 +51,7 @@ This script starts one to four instances of Zed, depending on the `-2`, `-3` or
|
|||
|
||||
If you want to run your own version of the zed collaboration service, you can, but note that this is still under development, and there is no good support for authentication nor extensions.
|
||||
|
||||
Configuration is done through environment variables. By default it will read the configuration from [`.env.toml`](../../crates/collab/.env.toml) and you should use that as a guide for setting this up.
|
||||
Configuration is done through environment variables. By default it will read the configuration from [`.env.toml`](https://github.com/zed-industries/zed/blob/main/crates/collab/.env.toml) and you should use that as a guide for setting this up.
|
||||
|
||||
By default Zed assumes that the DATABASE_URL is a Postgres database, but you can make it use Sqlite by compiling with `--features sqlite` and using a sqlite DATABASE_URL with `?mode=rwc`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue