From fc0d2073aa9707ac0217d4b577b2f735716b8c64 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Sun, 12 Feb 2023 10:34:51 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=BB=98=E8=AE=A4=20MD=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 39 +++++++++++++++++++++++++++++++++++++++ README.md | 19 ++++++++++--------- README.zh-CN.md | 40 ---------------------------------------- pnpm-lock.yaml | 6 +++--- 4 files changed, 52 insertions(+), 52 deletions(-) create mode 100644 README.en.md delete mode 100644 README.zh-CN.md diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..3b903b2 --- /dev/null +++ b/README.en.md @@ -0,0 +1,39 @@ +# ChatGPT Web Bot + +[中文](./README.md) | English + +ChartGPT demo page built with express and vue3 + +![cover](./docs/cover.png) + +## Usage +> Make sure `node >= 18` + +If pnpm is not installed +```shell +npm install pnpm -g +``` + +install node deps +```shell +pnpm install +``` + +Sign up for an [OpenAI API key](https://platform.openai.com/overview) and store it in your environment. + +``` +# .env +OPENAI_API_KEY="Your Key" +``` + +Run service +```shell +pnpm run service +``` + +Run web +```shell +pnpm run dev +``` + +## License diff --git a/README.md b/README.md index f832225..f2c706e 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,37 @@ # ChatGPT Web Bot -English | [中文](./README.zh-CN.md) +中文 | [English](./README.en.md) -ChartGPT demo page built with express and vue3 +使用 express 和 vue3 搭建的 ChartGPT 演示网页 ![cover](./docs/cover.png) -## Usage -> Make sure `node >= 18` -If pnpm is not installed +## 使用 +> 确保 `node >= 18` + +如果你没有安装过 `pnpm` ```shell npm install pnpm -g ``` -install node deps +安装依赖 ```shell pnpm install ``` -Sign up for an [OpenAI API key](https://platform.openai.com/overview) and store it in your environment. +获取 [OpenAI API key](https://platform.openai.com/overview) 到本地环境变量 ``` # .env OPENAI_API_KEY="Your Key" ``` -Run service +运行服务 ```shell pnpm run service ``` -Run web +运行网页 ```shell pnpm run dev ``` diff --git a/README.zh-CN.md b/README.zh-CN.md deleted file mode 100644 index e7f513a..0000000 --- a/README.zh-CN.md +++ /dev/null @@ -1,40 +0,0 @@ -# ChatGPT Web Bot - -[English](./README.md) | 中文 - -使用 express 和 vue3 搭建的 ChartGPT 演示网页 - -![cover](./docs/cover.png) - -## 使用 -> Make sure `node >= 18` - -如果你没有安装过 `pnpm` -```shell -npm install pnpm -g -``` - -安装依赖 -```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) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2171126..2e84703 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1412,8 +1412,8 @@ packages: fsevents: 2.3.2 dev: true - /ci-info/3.7.1: - resolution: {integrity: sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w==} + /ci-info/3.8.0: + resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} engines: {node: '>=8'} dev: true @@ -2030,7 +2030,7 @@ packages: dependencies: '@babel/helper-validator-identifier': 7.19.1 '@eslint-community/eslint-utils': 4.1.2_eslint@8.34.0 - ci-info: 3.7.1 + ci-info: 3.8.0 clean-regexp: 1.0.0 eslint: 8.34.0 esquery: 1.4.0