Procfile 🔗
@@ -1,2 +1,3 @@
web: cd ../zed.dev && PORT=3000 npx vercel dev
collab: cd crates/collab && cargo run serve
+livekit: livekit-server --dev
Max Brunsfeld created
Procfile | 1 +
README.md | 39 +++++++++++++++++++++++----------------
2 files changed, 24 insertions(+), 16 deletions(-)
@@ -1,2 +1,3 @@
web: cd ../zed.dev && PORT=3000 npx vercel dev
collab: cd crates/collab && cargo run serve
+livekit: livekit-server --dev
@@ -6,36 +6,43 @@ Welcome to Zed, a lightning-fast, collaborative code editor that makes your drea
## Development tips
-### Testing against locally-running servers
+### Dependencies
-Make sure you have `zed.dev` cloned as a sibling to this repo.
+* Install [Postgres.app](https://postgresapp.com) and start it.
+* Install the `LiveKit` server and the `foreman` process supervisor:
-```
-cd ..
-git clone https://github.com/zed-industries/zed.dev
-```
+ ```
+ brew install livekit
+ brew install foreman
+ ```
-Make sure your local database is created, migrated, and seeded with initial data. Install [Postgres](https://postgresapp.com), then from the `zed` repository root, run:
+* Ensure the Zed.dev website is checked out in a sibling directory:
-```
-script/sqlx database create
-script/sqlx migrate run
-script/seed-db
-```
+ ```
+ cd ..
+ git clone https://github.com/zed-industries/zed.dev
+ ```
+
+* Set up a local `zed` database and seed it with some initial users:
+
+ ```
+ script/bootstrap
+ ```
+
+### Testing against locally-running servers
-Run the web frontend and the collaboration server.
+Start the web and collab servers:
```
-brew install foreman
foreman start
```
If you want to run Zed pointed at the local servers, you can run:
```
-script/zed_with_local_servers
+script/zed-with-local-servers
# or...
-script/zed_with_local_servers --release
+script/zed-with-local-servers --release
```
### Dump element JSON