Skip to content

Commit 54226d2

Browse files
Update 网络环境极差时的MathModelAgent配置过程.md
添加图片正常显示
1 parent 742553d commit 54226d2

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

网络环境极差时的MathModelAgent配置过程.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,24 @@
1818

1919
等待 Docker Desktop 启动完成,确保系统托盘中的 Docker 图标显示为运行状态。
2020

21-
![image-20250712005640730](./assets/image-20250712005640730.png)
21+
<img width="437" height="722" alt="image-20250712005640730" src="https://github.com/user-attachments/assets/257e620e-53b1-4761-aaaf-c6bdddc1169b" />
22+
2223

2324
此时会弹出命令行要求安装WSL。等待即可。
2425

25-
![a33121ae9047c01153edebe7ed666a06](./assets/a33121ae9047c01153edebe7ed666a06.png)
26+
<img width="1920" height="1080" alt="a33121ae9047c01153edebe7ed666a06" src="https://github.com/user-attachments/assets/e83841b3-abd3-4aa6-b811-09ecdd08b905" />
27+
2628

2729
本机使用VPN的时候Github一直都能ping通的,但是WSL的安装进度会卡在30%左右,
2830

29-
![c4c65346b2914b38da56a7ee5065702f](./assets/c4c65346b2914b38da56a7ee5065702f.jpeg)
31+
![c4c65346b2914b38da56a7ee5065702f](https://github.com/user-attachments/assets/6d91a444-587c-4920-a2ef-ce2ba0bd0e25)
32+
3033

3134
安装完毕。
3235

3336
根据自己的网络状态自行配置。
3437

35-
![image-20250712005715579](./assets/image-20250712005715579.png)
38+
<img width="1590" height="900" alt="image-20250712005715579" src="https://github.com/user-attachments/assets/d60d7ed3-50ee-4ea1-82bb-84c45c9b9231" />
3639

3740

3841

@@ -461,15 +464,16 @@ FINDSTR: 写入错误
461464

462465
如果一切正常,会看到`MathModelAgent`的前端界面,此时可以尝试使用项目功能(比如输入数学建模问题,让系统自动处理)。
463466

464-
![image-20250712013002471](./assets/image-20250712013002471.png)
467+
<img width="1920" height="1020" alt="image-20250712013002471" src="https://github.com/user-attachments/assets/b69265d7-d207-4938-b0b5-fddbe0992774" />
465468

466469
### 2. 验证后端服务是否正常
467470

468471
访问后端 API 地址,确认服务运行:`http://localhost:8000`
469472

470473
如果后端正常启动,会看到类似 API 文档或状态提示的页面(具体取决于项目设计)。
471474

472-
![image-20250712013024423](./assets/image-20250712013024423.png)
475+
<img width="1920" height="1020" alt="image-20250712013024423" src="https://github.com/user-attachments/assets/977a5989-b8cb-4c9a-b227-9d4942fc602d" />
476+
473477

474478
### 3. 检查服务日志(若有问题)
475479

@@ -480,14 +484,14 @@ FINDSTR: 写入错误
480484
docker logs mathmodelagent_frontend
481485
```
482486

483-
![image-20250712013102332](./assets/image-20250712013102332.png)
487+
<img width="1482" height="762" alt="image-20250712013102332" src="https://github.com/user-attachments/assets/381ff9db-2582-438d-872f-3d769e91002d" />
484488

485489
```powershell
486490
# 查看Redis日志(比如启动失败)
487491
docker logs mathmodelagent_redis
488492
```
489493

490-
![image-20250712013128563](./assets/image-20250712013128563.png)
494+
<img width="1482" height="762" alt="image-20250712013128563" src="https://github.com/user-attachments/assets/028b41fc-f9d8-454a-b18e-e604641bc099" />
491495

492496
日志中会显示具体错误信息(如依赖缺失、配置错误等),根据提示调整即可。
493497

0 commit comments

Comments
 (0)