Add webUI into binary

To get the most simple deployment of excalidraw, the binary should ship
all components (webUI, socket.io, data storage).
This commit is contained in:
patwie
2024-03-29 09:39:22 +00:00
parent 36e3ecb5c7
commit 2dd1421b6e
7 changed files with 74 additions and 39 deletions
+9 -4
View File
@@ -1,12 +1,17 @@
# Exalidraw Backend
# Exalidraw Complete
Frustrated on how difficult it is to setup excalidraw self-hosted but with data
storage and collaboration function this represents and attempt to run the
necessary function with a single binary implemented in go.
necessary function with a single binary implemented in go. This includes:
Apply the patch to the frontend and build excalidraw. Run Excalidraw frontend and
on the same host run
- the frontend UI
- a in-memory data layer
- socket.io implementation for collaboration
Apply the patch to the frontend and build excalidraw into `frontend`. Run
```bash
go run main.go
```
Everything will be served under `localhost:3002`