* added cors to env dev * updated socket.io * tweaked pm2 configs * tweaked readme * slight refactor of index * removed types for socket.io as it is part of main package * clean up and setting default ports
414 B
Executable File
414 B
Executable File
Example of excalidraw collaboration server
Collaboration server for Excalidraw
If you need to use cluster mode with pm2. Checkout: https://socket.io/docs/v4/pm2/
If you are not familiar with pm2: https://pm2.keymetrics.io/docs/usage/quick-start/
Development
-
install
yarn
-
run development server
yarn start:dev
Start with pm2
pm2 start pm2.production.json