From fa8667ec19091897bf01143567399dd95aa5a1ea Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Thu, 23 Mar 2023 03:59:50 +0000 Subject: [PATCH] chore: update readme about dev config --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8282439ea..53081cff9 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,14 @@ You can star or watch this project or follow author to get release notifictions [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web) +在开始写代码之前,需要在项目根目录新建一个 `.env.local` 文件,里面填入环境变量: + +Before development, you must create a new `.env.local` file at project root, and place your api key into it: + +``` +OPENAI_API_KEY= +``` + ## 截图 Screenshots ![设置 Settings](./static/settings.png)