From a2bc3f470bc746e2411771cd1d4ad9597d95f26b Mon Sep 17 00:00:00 2001 From: Zhang Minghan Date: Sat, 9 Nov 2024 18:37:06 +0800 Subject: [PATCH] chore: update btpanel deployment --- README.md | 10 ++++++++++ README_zh-CN.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index 483cd3ab..c47ea469 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/README_zh-CN.md b/README_zh-CN.md index 9cbf606e..ed041492 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -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]