mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
docs: update README and README_EN with clearer deployment instructions and buttons
This commit is contained in:
@@ -56,15 +56,18 @@ English:[`README_EN.md`](./README_EN.md)
|
|||||||
|
|
||||||
**部署步骤:**
|
**部署步骤:**
|
||||||
|
|
||||||
|
> **若你只是想体验一下,直接点击第二步一键部署按钮即可**,以下操作为了长期更新使用
|
||||||
|
|
||||||
|
|
||||||
1. 首先Fork本仓库,命名为**NodeWarden**,取消选择 Copy the main branch only
|
1. 首先Fork本仓库,命名为**NodeWarden**,取消选择 Copy the main branch only
|
||||||
2. 根据对储存库的需求,**二选一**点击下面的按钮,修改项目名称为**NodeWarden2**,修改**JWT_SECRET**成32为随机字符串;
|
2. 根据对储存库的需求,**二选一**点击下面的按钮,修改项目名称为**NodeWarden2**,修改**JWT_SECRET**成32为随机字符串;
|
||||||
- **R2**:需绑定银行卡;**单个附件/Send上限 100MB**(代码限制,可自行修改);**总量 10GB 免费**
|
- **R2**:需绑定银行卡;**单个附件/Send上限 100MB**(代码限制,可自行修改);**总量 10GB 免费**
|
||||||
|
|
||||||
[-Cloudflare%20Workers-F38020?logo=cloudflare&logoColor=white)](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden)
|
[](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden)
|
||||||
|
|
||||||
- **KV**:无需绑卡;**单个附件/Send 文件上限 25 MiB**(cloudflare限制,不可修改);**总量 1GB 免费**
|
- **KV**:无需绑卡;**单个附件/Send 文件上限 25 MiB**(cloudflare限制,不可修改);**总量 1GB 免费**
|
||||||
|
|
||||||
[-Cloudflare%20Workers-2ea44f?logo=cloudflare&logoColor=white)](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden/tree/kv)
|
[](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden/tree/kv)
|
||||||
3. 部署完成后,同一页面打开workers设置,将**Git存储库**断开连接
|
3. 部署完成后,同一页面打开workers设置,将**Git存储库**断开连接
|
||||||
4. 同一位置,**Git存储库**链接至第一步Fork的仓库(仓库名NodeWarden),**R2选择main分支,KV选择kv分支**(必须选对!!!)
|
4. 同一位置,**Git存储库**链接至第一步Fork的仓库(仓库名NodeWarden),**R2选择main分支,KV选择kv分支**(必须选对!!!)
|
||||||
5. 仓库**NodeWarden2**可以删除
|
5. 仓库**NodeWarden2**可以删除
|
||||||
|
|||||||
+4
-2
@@ -57,15 +57,17 @@
|
|||||||
|
|
||||||
**Deploy steps:**
|
**Deploy steps:**
|
||||||
|
|
||||||
|
- **If you just want to try it quickly, you can simply click one of the deploy buttons in step 2.**
|
||||||
|
|
||||||
1. Fork this repository, name it **NodeWarden**, and make sure **Copy the main branch only** is **unchecked**.
|
1. Fork this repository, name it **NodeWarden**, and make sure **Copy the main branch only** is **unchecked**.
|
||||||
2. Choose one deployment mode below, rename the project to **NodeWarden2**, and set **JWT_SECRET** to a random 32-character string.
|
2. Choose one deployment mode below, rename the project to **NodeWarden2**, and set **JWT_SECRET** to a random 32-character string.
|
||||||
- **R2**: requires a payment method; **single attachment/Send file limit is 100 MB** (project-level limit, editable in code); **10 GB free storage**.
|
- **R2**: requires a payment method; **single attachment/Send file limit is 100 MB** (project-level limit, editable in code); **10 GB free storage**.
|
||||||
|
|
||||||
[-Cloudflare%20Workers-F38020?logo=cloudflare&logoColor=white)](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden)
|
[](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden)
|
||||||
|
|
||||||
- **KV**: no card required; **single attachment/Send file limit is 25 MiB** (Cloudflare platform limit, not editable); **1 GB free storage**.
|
- **KV**: no card required; **single attachment/Send file limit is 25 MiB** (Cloudflare platform limit, not editable); **1 GB free storage**.
|
||||||
|
|
||||||
[-Cloudflare%20Workers-2ea44f?logo=cloudflare&logoColor=white)](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden/tree/kv)
|
[](https://deploy.workers.cloudflare.com/?url=https://github.com/shuaiplus/NodeWarden/tree/kv)
|
||||||
3. After deployment, open the Worker settings on the same page and disconnect the **Git repository**.
|
3. After deployment, open the Worker settings on the same page and disconnect the **Git repository**.
|
||||||
4. Reconnect the **Git repository** to the fork from step 1. This branch selection must match the button you used: **R2 uses `main`, KV uses `kv`**.
|
4. Reconnect the **Git repository** to the fork from step 1. This branch selection must match the button you used: **R2 uses `main`, KV uses `kv`**.
|
||||||
5. The temporary **NodeWarden2** repository can be deleted.
|
5. The temporary **NodeWarden2** repository can be deleted.
|
||||||
|
|||||||
Reference in New Issue
Block a user