If you have deployed your own project with just one click following the steps above, you may encounter the issue of "Updates Available" constantly showing up. This is because Vercel will create a new project for you by default instead of forking this project, resulting in the inability to detect updates correctly.
If you have deployed your own project with just one click following the steps above, you may encounter the issue of "Updates Available" constantly showing up. This is because Vercel will create a new project for you by default instead of forking this project, resulting in the inability to detect updates correctly.
@ -92,6 +96,7 @@ If you want to update instantly, you can check out the [Github documentation](ht
You can star or watch this project or follow author to get release notifictions in time.
You can star or watch this project or follow author to get release notifictions in time.
## Access Password
## Access Password
> [简体中文 > 如何增加访问密码](./README_CN.md#配置页面访问密码)
> [简体中文 > 如何增加访问密码](./README_CN.md#配置页面访问密码)
This project provides limited access control. Please add an environment variable named `CODE` on the vercel environment variables page. The value should be passwords separated by comma like this:
This project provides limited access control. Please add an environment variable named `CODE` on the vercel environment variables page. The value should be passwords separated by comma like this:
@ -103,6 +108,7 @@ code1,code2,code3
After adding or modifying this environment variable, please redeploy the project for the changes to take effect.
After adding or modifying this environment variable, please redeploy the project for the changes to take effect.
## Environment Variables
## Environment Variables
> [简体中文 > 如何配置 api key、访问密码、接口代理](./README_CN.md#环境变量)
> [简体中文 > 如何配置 api key、访问密码、接口代理](./README_CN.md#环境变量)
### `OPENAI_API_KEY` (required)
### `OPENAI_API_KEY` (required)
@ -128,6 +134,7 @@ Override openai api request base url.
Override openai api request protocol.
Override openai api request protocol.
## Development
## Development
> [简体中文 > 如何进行二次开发](./README_CN.md#开发)
> [简体中文 > 如何进行二次开发](./README_CN.md#开发)
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
[](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)
@ -149,13 +156,28 @@ yarn dev
```
```
## Deployment
## Deployment
> [简体中文 > 如何部署到私人服务器](./README_CN.md#部署)
> [简体中文 > 如何部署到私人服务器](./README_CN.md#部署)
### Docker (Recommended)
### Docker (Recommended)
```shell
```shell
docker pull yidadaa/chatgpt-next-web
docker pull yidadaa/chatgpt-next-web
docker run -d -p 3000:3000 -e OPENAI_API_KEY="" -e CODE="" yidadaa/chatgpt-next-web