This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
一键启动脚本使用说明
====================
1. 将以下文件复制到与各 jar 同一目录(如 D:\aiyun) :
- start-all.bat (一键启动)
- stop-all.bat (一键停止,可选)
2. 确保该目录下存在以下 jar( 按需保留) :
- ruoyi-gateway.jar
- ruoyi-auth.jar
- aidmt-system-ms.jar
- ruoyi-modules-file.jar (文件服务)
- aidmt-manage-ms.jar
3. 先启动 Nacos、Redis、MySQL, 再双击 start-all.bat。
4. 启动时已加 -Dfile.encoding=UTF-8, 可避免从 Nacos 拉取配置时的中文编码解析错误。
5. 若网关报「Port 8080/8081 is already in use」:
- 方式一:双击 script\kill-port-8080.bat, 查看并结束占用端口的进程。
- 方式二:改用其他端口启动网关,例如:
java -Dfile.encoding=UTF-8 -Dserver.port=8082 -jar ruoyi-gateway.jar
- 方式三:在 Nacos 的 ruoyi-gateway-dev.yml 中增加 server.port: 8082 后重启网关。
6. 停止方式:双击 stop-all.bat, 或直接关闭各命令行窗口。
7. 文件上传接口示例见: docs\文件上传接口-Postman示例.md;
Postman 集合可导入: script\文件上传.postman_collection.json。