From 74fa78355d75d2a2916dfd7f4a502b47dc4b555f Mon Sep 17 00:00:00 2001 From: oiov Date: Mon, 13 May 2024 13:46:18 +0800 Subject: [PATCH] upd: doc chore and add a header link --- apps/remix/app/components/Header.tsx | 8 +++++++- docs/receive-tutorial.md | 11 +++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/remix/app/components/Header.tsx b/apps/remix/app/components/Header.tsx index 032b3bd..07ac46c 100644 --- a/apps/remix/app/components/Header.tsx +++ b/apps/remix/app/components/Header.tsx @@ -14,8 +14,14 @@ export default function Header() { + {t("GPT")} + + {t("About")} 手动创建表(旧版方法) -![](https://img.inke.app/file/d49086f9b450edd5a2cef.png) -> ⚠️ 注意:**左上角有一个加号按钮,我尝试点击它没有任何提示或效果,所以我使用了 turso 提供的 cli 来初始化表。** Cli 文档:https://docs.turso.tech/cli/introduction + Linux (或 mac/windows) 终端执行: -```bash + # 安装(安装后记得重启终端生效) curl -sSfL https://get.tur.so/install.sh | bash # 登录账户 turso auth login # 连接到您的Turso数据库 turso db shell -``` **2.部署 email worker** -需要准备 Node 环境(推荐 18.x 及以上),并且需要安装 wrangler cli 并在本地登录 (登录时建议开启VPN) +需要准备 Node 环境(推荐 18.x 及以上),并且需要安装 wrangler cli 并在本地登录,参考 https://developers.cloudflare.com/workers/wrangler/install-and-update (登录时建议开启VPN) ```bash # 安装 pnpm npm install -g pnpm - -# 安装 wrangler cli, 参考 https://developers.cloudflare.com/workers/wrangler/install-and-update -npm install wrangler --save-dev ``` ```bash