From 978a527c0af899ae94a680713ab8e10a83e45ff1 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Thu, 9 Feb 2023 16:02:32 +0800 Subject: [PATCH] chore: README.zh-CN.md --- README.md | 4 +++- README.zh-CN.md | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 README.zh-CN.md diff --git a/README.md b/README.md index a91519e..a90845a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # ChatGPT Web Bot -This is a ChatGPT web application demo with express and vue3 +English | [中文](./README.zh-CN.md) + +ChartGPT demo page built with express and vue3 ![cover](./docs/cover.png) ## Usage diff --git a/README.zh-CN.md b/README.zh-CN.md new file mode 100644 index 0000000..bd29eab --- /dev/null +++ b/README.zh-CN.md @@ -0,0 +1,35 @@ +# ChatGPT Web Bot + +[English](./README.md) | 中文 + +使用 express 和 vue3 搭建的 ChartGPT 演示网页 + +![cover](./docs/cover.png) + +## 使用 +> Make sure `node >= 18` + +安装依赖 +```shell +pnpm install +``` + +获取 [OpenAI API key](https://platform.openai.com/overview) 到本地环境变量 + +``` +# .env +OPENAI_API_KEY="Your Key" +``` + +运行服务 +```shell +pnpm run service +``` + +运行网页 +```shell +pnpm run dev +``` + +## License +MIT © [ChenZhaoYu](./license)