Explorar o código

chore: update readme about dev config

Yifei Zhang %!s(int64=2) %!d(string=hai) anos
pai
achega
fa8667ec19
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      README.md

+ 8 - 0
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=<your api key here>
+```
+
 ## 截图 Screenshots
 
 ![设置 Settings](./static/settings.png)