docs: upload snapshot

This commit is contained in:
alswl 2022-12-10 22:08:01 +08:00
parent a5becd2527
commit 07acc51a79
2 changed files with 18 additions and 6 deletions

View File

@ -2,31 +2,43 @@
One click to init an excalidraw with collaboration.
Docs:
Snapshot:
![snapshot](./_assets/snapshot.png)
Demo:
WIP
Related 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/ )
Build and Run:
## Build and Run
Clone, patch, and build:
```
git clone --recursive git@github.com:alswl/excalidraw-collaboration.git
cd excalidraw-collaboration
git config submodule.excalidraw.ignore all # ignore submodule changes, we will patch them
make patch
make images
make patch images
git commit -a -m 'feat: new image'
make bump-version
docker-compose up
```
Browse:
Browse it:
- 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:
About public network release:
if you want to release your own excalidraw in public network,
you should modify the `excalidraw.production.env` file,

BIN
_assets/snapshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB