excalidraw-swe/README.md

33 lines
1.0 KiB
Markdown
Raw Normal View History

2022-12-10 11:17:42 +00:00
# excalidraw-collaboration
One click to init an excalidraw with collaboration.
Docs:
- [Self hosted online collaborative drawing platform Excalidraw | Log4D](https://en.blog.alswl.com/2022/10/self-hosted-excalidraw/)
- [私有化在线协同画图平台 Excalidraw | Log4D]( https://blog.alswl.com/2022/10/self-hosted-excalidraw/ )
2022-12-10 13:49:20 +00:00
Build and Run:
2022-12-10 11:17:42 +00:00
```
2022-12-10 13:49:20 +00:00
git config submodule.excalidraw.ignore all # ignore submodule changes, we will patch them
2022-12-10 12:09:23 +00:00
make patch
2022-12-10 11:17:42 +00:00
make images
2022-12-10 13:55:19 +00:00
git commit -a -m 'feat: new image'
2022-12-10 13:49:20 +00:00
make bump-version
2022-12-10 11:17:42 +00:00
docker-compose up
```
2022-12-10 13:49:20 +00:00
Browse:
- open http://127.0.0.1/ ,and you will see the excalidraw page
- Click the `Live Collaboration` button, and you will see the collaboration page
- Now you can share the collaboration page with your friends, and you can draw together.
Public Release:
if you want to release your own excalidraw in public network,
you should modify the `excalidraw.production.env` file,
Replace the `REACT_APP_HTTP_STORAGE_BACKEND_URL` and `REACT_APP_WS_SERVER_URL` with your own domain.