Add scripts for running Zed2 collab environment

./script/zed-local now looks for "--zed2" flag in its args and runs Zed2 binaries instead of zed1.
'foreman start' can be launched with '-f Procfile.zed2" argument to launch zed2 collab server.
This commit is contained in:
Piotr Osiewicz
2023-11-23 14:19:06 +01:00
parent f01a04a8e0
commit 0b67983ddf
2 changed files with 10 additions and 3 deletions
+4
View File
@@ -0,0 +1,4 @@
web: cd ../zed.dev && PORT=3000 npm run dev
collab: cd crates/collab2 && RUST_LOG=${RUST_LOG:-warn,collab=info} cargo run serve
livekit: livekit-server --dev
postgrest: postgrest crates/collab2/admin_api.conf