From c2645a36a7c2d19fa0f3205ee5bf006ea29e6db4 Mon Sep 17 00:00:00 2001 From: alswl Date: Sat, 10 Dec 2022 21:49:20 +0800 Subject: [PATCH] feat: it works with 0.12.0 --- README.md | 20 ++++++++++++++++---- VERSION | 2 +- docker-compose.yaml | 10 ++++------ excalidraw | 2 +- 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index b0b4c79..aca9ba0 100644 --- a/README.md +++ b/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. \ No newline at end of file diff --git a/VERSION b/VERSION index dee52ea..1cce31b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.0-362de13 +v0.1.0-86046ea diff --git a/docker-compose.yaml b/docker-compose.yaml index 98008dc..fabc4e0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 \ No newline at end of file + - 8082:80 \ No newline at end of file diff --git a/excalidraw b/excalidraw index 015bdb1..bc61cd9 160000 --- a/excalidraw +++ b/excalidraw @@ -1 +1 @@ -Subproject commit 015bdb1c0a2787c6d9544b9cbd66d9c92443431b +Subproject commit bc61cd96f594eded067f729dd3623efd9fff6948