mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-06-03 22:02:57 +00:00
添加env example
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
GITHUB_CLIENT_ID="xxxxxxxxxxxxxxxxxxx"
|
||||
GITHUB_CLIENT_SECRET="xxxxxxxxxxxxxx"
|
||||
GITHUB_REDIRECT_URL="http://localhost:3000/auth/github/callback" # 或者你部署后的回调地址
|
||||
JWT_SECRET="YOUR_SUPER_SECRET_RANDOM_STRING"
|
||||
|
||||
OPENAI_API_KEY=sk-xxxxxxxxxxxxxx
|
||||
OPENAI_BASE_URL=https://xxxxxx.xxxxx # 不加/v1...
|
||||
STORAGE_TYPE=sqlite # 支持memory,filesystem, kv, s3,具体看README
|
||||
@@ -46,6 +46,7 @@ One Click Docker run [Excalidraw-Full](https://github.com/BetterAndBetterII/exca
|
||||
# Example for Linux
|
||||
git clone https://github.com/BetterAndBetterII/excalidraw-full.git
|
||||
cd excalidraw-full
|
||||
mv .env.example .env
|
||||
touch ./excalidraw.db # IMPORTANT: Initialize the SQLite DB, OTHERWISE IT WILL NOT START
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
@@ -46,6 +46,7 @@ Excalidraw Full 已经进化。它不再仅仅是 Excalidraw 的一个简单封
|
||||
# Linux 示例
|
||||
git clone https://github.com/BetterAndBetterII/excalidraw-full.git
|
||||
cd excalidraw-full
|
||||
mv .env.example .env
|
||||
touch ./excalidraw.db # 重要:初始化 SQLite 数据库,否则无法启动
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user