Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

Move deployment guide near demo

tianmaecc7e75380b2
diff --git a/README.md b/README.md
index 436476ad..52224098 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,39 @@ EdgeEver 是一个开源、自托管、Cloudflare-native 的现代笔记工作
公开演示环境可能会被重置,请不要保存私密内容。
+## 部署
+
+### AI Agent 一句话部署
+
+如果你使用 Codex、Claude Code、Antigravity 等 AI Agent,并且已经登录 Cloudflare 或安装了 Cloudflare 相关插件,可以直接把下面这句话发给 Agent:
+
+```text
+这个是 GitHub 上的项目链接:https://github.com/msh01/edgeever。请把这个项目安装部署到 Cloudflare 上。
+```
+
+Agent 应优先按 [AI Agent Cloudflare Deployment](docs/agent-deploy-cloudflare.md) 执行,只在需要 Cloudflare 授权、首次登录密码或自定义域名时询问你。
+
+### 手动部署
+
+如果使用 CLI 部署:
+
+```sh
+cp .env.local.example .env.local
+bun install
+bunx wrangler d1 create edgeever
+bunx wrangler r2 bucket create edgeever-resources
+bun run auth:hash -- <你的密码>
+bun run deploy
+```
+
+把 D1 创建命令返回的 `database_id` 和密码 hash 填入本机 `.env.local`。也可以使用自动化辅助命令:
+
+```sh
+EDGE_EVER_PASSWORD='<你的密码>' bun run deploy:setup
+bun run deploy:doctor
+bun run deploy
+```
+
## 功能
- 个人使用几乎可以零成本托管:基于 Cloudflare D1 + R2 免费额度,短笔记可达 10 万条量级,200KB 图片约可存放 5 万张。
@@ -67,39 +100,6 @@ bun run typecheck
bun run build
```
-## 部署
-
-### AI Agent 一句话部署
-
-如果你使用 Codex、Claude Code、Antigravity 等 AI Agent,并且已经登录 Cloudflare 或安装了 Cloudflare 相关插件,可以直接把下面这句话发给 Agent:
-
-```text
-这个是 GitHub 上的项目链接:https://github.com/msh01/edgeever。请把这个项目安装部署到 Cloudflare 上。
-```
-
-Agent 应优先按 [AI Agent Cloudflare Deployment](docs/agent-deploy-cloudflare.md) 执行,只在需要 Cloudflare 授权、首次登录密码或自定义域名时询问你。
-
-### 手动部署
-
-如果使用 CLI 部署:
-
-```sh
-cp .env.local.example .env.local
-bun install
-bunx wrangler d1 create edgeever
-bunx wrangler r2 bucket create edgeever-resources
-bun run auth:hash -- <你的密码>
-bun run deploy
-```
-
-把 D1 创建命令返回的 `database_id` 和密码 hash 填入本机 `.env.local`。也可以使用自动化辅助命令:
-
-```sh
-EDGE_EVER_PASSWORD='<你的密码>' bun run deploy:setup
-bun run deploy:doctor
-bun run deploy
-```
-
## 目录结构
```text