Skip to content

Commit dc5d045

Browse files
committed
docs(deployment): 添加 macOS 部署文档并优化环境配置说明
在部署导航中新增 macOS 部署选项,并更新相关文档内容。 同时优化了 `.env` 文件的编辑指导,推荐使用 VSCode 或其他编辑器进行配置。
1 parent 020cc3d commit dc5d045

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.vitepress/config.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export default defineConfig({
4949
{ text: '部署概览', link: '/manual/deployment/' },
5050
{ text: 'Windows部署', link: '/manual/deployment/mmc_deploy_windows' },
5151
{ text: 'Linux部署', link: '/manual/deployment/mmc_deploy_linux' },
52+
{ text: 'macOS部署', link: '/manual/deployment/mmc_deploy_macos' },
5253
{ text: 'Docker部署', link: '/manual/deployment/mmc_deploy_docker' },
5354
{ text: 'Android部署', link: '/manual/deployment/mmc_deploy_android' },
5455
{ text: 'Kubernetes部署', link: '/manual/deployment/mmc_deploy_kubernetes' }

manual/deployment/mmc_deploy_macos.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,7 @@ cp template/model_config_template.toml config/model_config.toml
238238
cp template/template.env .env
239239
```
240240

241-
3. 编辑 `.env` 文件,设置监听端口:
242-
243-
```bash
244-
# 使用文本编辑器打开 .env 文件
245-
nano .env
246-
# 或使用 vim
247-
vim .env
248-
```
249-
250-
修改以下内容:
241+
3. 使用 VSCode 或其他编辑器打开 `.env` 文件,设置监听端口:
251242

252243
```ini
253244
HOST=127.0.0.1

0 commit comments

Comments
 (0)