Skip to content

Commit

Permalink
chore: README
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanzhaoyu committed Feb 9, 2023
1 parent cd36072 commit 0ddc1e8
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,28 @@
This is a ChatGPT web application demo with express and vue3

![cover](./docs/cover.png)
## Intro
1. `node >= 18`
1. `pnpm install` node deps
2. set `OPENAI_API_KEY` in `.env`
## Usage
> Make sure `node >= 18`
## Run
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
# 1. run service
pnpm run service
```

# 2. run web
Run web
```shell
pnpm run dev
```

Expand Down

0 comments on commit 0ddc1e8

Please sign in to comment.