Update README.md

在国内有大部分用户都在使用宝塔面板管理服务器,因此增加使用宝塔面板部署的教程,可视化的部署方式可以帮助用户更加便捷的部署
This commit is contained in:
bestlaw66 2024-12-13 11:39:38 +08:00 committed by GitHub
parent 1d75e8519d
commit 6f152ebac5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,6 +59,26 @@ Github[releases](https://github.com/wanglin2/mind-map/releases)。百度云
```bash
npm i simple-mind-map
```
# 使用宝塔面板Docker的部署说明
## 拥有自己的宝塔
当你需要通过 宝塔面板 部署本项目之前,需要在服务器上先安装好 宝塔面板工具。 接下来的 部署流程 都建立在已有宝塔面板的前提下。宝塔安装请参考 ([宝塔官网](https://www.bt.cn/new/download.html?r=dk_simple))
> 注意:本项目需要宝塔面板版本 9.2.0 及以上
## 一键安装
![install1](https://github.com/user-attachments/assets/34994767-4662-46f4-bde7-3bb421165765)
1. 在 宝塔面板 -> Docker -> 应用商店 页面,搜索 Simple 找到本项目的docker应用
2. 点击 安装 开始部署本项目
![install2](https://github.com/user-attachments/assets/5b6e1863-1dac-40ae-9395-3ea25abe2b8d)
1. 在项目配置页,根据要求开始配置环境变量;
2. 如勾选 允许外部访问 配置,请注意为配置的 web端口 开放安全组端口访问权限;
3. 点击 确认 开始自动部署。
## 如何访问
通过根据 服务器IP地址 和配置的 web端口 http://$(host):$(port),在浏览器中打开 Simple mind map。
![install3](https://github.com/user-attachments/assets/451872fe-4a51-4712-ba82-efa98b0bd6ad)
# 使用