소스 검색

chore: update readme about dev config

Yifei Zhang 2 년 전
부모
커밋
fa8667ec19
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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)