Skip to content

Commit

Permalink
chore: update btpanel deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
zmh-program committed Nov 9, 2024
1 parent c8a22cc commit a2bc3f4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ English · [简体中文](./README_zh-CN.md) · [Docs](https://chatnio.com) · [
> 1. Click `Deploy` to deploy, and enter the domain name you wish to bind, wait for the deployment to complete.
> 2. After deployment is complete, please visit your domain name and log in to the backend management using the username `root` and password `chatnio123456`. Please follow the prompts to change the password in the chatnio backend in a timely manner.
### 🐳 BTPanel (One-Click)

1. Install Baota Panel by visiting [BTPanel](https://www.bt.cn/new/download.html) and install using the stable version script.
2. Log in to the panel and click **Docker** on the left to enter Docker management.
3. If prompted that Docker / Docker Compose is not installed, you can install according to the guide above.
4. After installation is complete, enter **App Store**, search for `CoAI` and click **Install**.
5. Configure basic application information such as your domain name, port, etc., and click **Confirm** (default configuration can be used).
6. First-time installation may take 1-2 minutes to complete database initialization. If you encounter issues, please check the panel running logs for troubleshooting.
7. Visit your configured domain or server `http://[ip]:[port]`, log in to the backend management using username `root` and password `chatnio123456`.

### ⚡ Docker Compose Installation (Recommended)
> [!NOTE]
> After successful execution, the host machine mapping address is `http://localhost:8000`
Expand Down
10 changes: 10 additions & 0 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@
> 1. 点击 `Deploy` 进行部署, 并输入你希望绑定的域名,等待部署完成。
> 2. 部署完成后, 请访问你的域名, 并使用用户名 `root` 密码 `chatnio123456` 登录后台管理,请按照提示在 chatnio 后台及时修改密码。
### 🐳 宝塔面板 (一键部署)

1. 安装宝塔面板,前往 [宝塔面板官网](https://www.bt.cn/new/download.html) 进行安装,选择正式版脚本安装。
2. 登录面板,点击左侧 **Docker** 进入 Docker 管理。
3. 如提示未安装 Docker / Docker Compose, 可根据上方引导安装。
4. 安装完成后,进入 **应用商城**,搜索 `CoAI` 并点击 **安装**
5. 配置应用基本信息,如您的域名,端口等配置,并点击 **确认** (可使用默认配置)。
6. 首次安装可能需要等待 1-2 分钟完成数据库初始化。如遇到问题,请查看面板运行日志进行排查。
7. 访问您配置的域名或服务器 `http://[ip]:[port]`,使用用户名 `root` 和密码 `chatnio123456` 登录后台管理。


### ⚡ Docker Compose 安装 (推荐)
> [!NOTE]
Expand Down

0 comments on commit a2bc3f4

Please sign in to comment.