excalidraw-room/README.md
Milos Vetesnik b6547a66d7
Maielo/upgrade socket io (#355)
* 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
2023-05-16 14:35:29 +02:00

28 lines
414 B
Markdown
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
```sh
yarn
```
- run development server
```sh
yarn start:dev
```
# Start with pm2
```
pm2 start pm2.production.json
```