feat: it works with 0.12.0
This commit is contained in:
parent
86046ea3b4
commit
c2645a36a7
20
README.md
20
README.md
@ -7,14 +7,26 @@ 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:
|
||||
Build and Run:
|
||||
|
||||
```
|
||||
# ignore submodule changes, we will patch them
|
||||
git config submodule.excalidraw.ignore all
|
||||
git config submodule.excalidraw.ignore all # ignore submodule changes, we will patch them
|
||||
|
||||
make patch
|
||||
make images
|
||||
make generate-compose
|
||||
make bump-version
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
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.
|
@ -2,14 +2,12 @@
|
||||
|
||||
services:
|
||||
frontend:
|
||||
image: excalidraw:v0.1.0-362de13
|
||||
environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables
|
||||
- PORT=8080
|
||||
image: excalidraw:v0.1.0-86046ea
|
||||
ports:
|
||||
- 80:80
|
||||
|
||||
storage:
|
||||
image: excalidraw-storage-backend:v0.1.0-362de13
|
||||
image: excalidraw-storage-backend:v0.1.0-86046ea
|
||||
restart: always
|
||||
environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables
|
||||
- PORT=8081
|
||||
@ -17,6 +15,6 @@ services:
|
||||
- 8081:8081
|
||||
|
||||
room:
|
||||
image: excalidraw-room:v0.1.0-362de13
|
||||
image: excalidraw-room:v0.1.0-86046ea
|
||||
ports:
|
||||
- 8082:8080
|
||||
- 8082:80
|
@ -1 +1 @@
|
||||
Subproject commit 015bdb1c0a2787c6d9544b9cbd66d9c92443431b
|
||||
Subproject commit bc61cd96f594eded067f729dd3623efd9fff6948
|
Loading…
Reference in New Issue
Block a user