Use this repo in front of this repo to perform various operations on running yjs on top of horizontally scaled websocket-server-cluster with y-websocket
- clone (https://github.com/kapv89/yjs-scalable-ws-backend)
cd yjs-scalable-ws-backend
git checkout main
npm ci
docker-compose up
in terminal 1npm run tables
in terminal 2SERVER_PORT=3001 npm run dev
in terminal 2SERVER_PORT=3002 npm run dev
in terminal 3- Open terminal 4 and
cd ..
- clone (https://github.com/kapv89/yjs-scalable-ws-backend-test)
cd yjs-scalable-ws-backend-test
npm ci
npm run test