chore: 默认 MD 文件
This commit is contained in:
parent
2c816afbd2
commit
fc0d2073aa
|
@ -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
|
19
README.md
19
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
|
||||
```
|
||||
|
|
|
@ -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)
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue