docs: update readme (#359)

* update-deploy-on-sealos

* update-deploy-on-sealos
This commit is contained in:
a497625414 2023-08-06 13:19:54 +08:00 committed by GitHub
parent afcd1bd27b
commit 89bcaaf989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View File

@ -137,7 +137,7 @@ The initial account username is `root` and password is `123456`.
cd one-api/web cd one-api/web
npm install npm install
npm run build npm run build
# Build the backend # Build the backend
cd .. cd ..
go mod download go mod download
@ -173,6 +173,10 @@ If you encounter a blank page after deployment, refer to [#97](https://github.co
<summary><strong>Deploy on Sealos</strong></summary> <summary><strong>Deploy on Sealos</strong></summary>
<div> <div>
> Sealos supports high concurrency, dynamic scaling, and stable operations for millions of users.
> Click the button below to deploy with one click.👇
[![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy?templateName=one-api) [![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy?templateName=one-api)

View File

@ -153,7 +153,7 @@ sudo service nginx restart
cd one-api/web cd one-api/web
npm install npm install
npm run build npm run build
# 构建后端 # 构建后端
cd .. cd ..
go mod download go mod download
@ -211,9 +211,11 @@ docker run --name chatgpt-web -d -p 3002:3002 -e OPENAI_API_BASE_URL=https://ope
<summary><strong>部署到 Sealos </strong></summary> <summary><strong>部署到 Sealos </strong></summary>
<div> <div>
> Sealos 可视化一键部署 > Sealos 的服务器在国外,不需要额外处理网络问题,支持高并发 & 动态伸缩
[![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy?templateName=one-api) 点击以下按钮一键部署:
[![Deploy-on-Sealos.svg](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy?templateName=one-api)
</div> </div>
</details> </details>