feat: opt claude
This commit is contained in:
22
.claude/commands/start-backend.md
Normal file
22
.claude/commands/start-backend.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
description: 启动后端 Spring Boot 应用
|
||||
---
|
||||
|
||||
# 启动后端服务
|
||||
|
||||
执行以下操作:
|
||||
|
||||
1. 检查后端服务是否已经在运行(端口 8080)
|
||||
2. 如果没有运行,启动 Spring Boot 应用
|
||||
3. 监控启动日志,确认服务正常启动
|
||||
4. 显示可访问的地址和 API 文档地址
|
||||
|
||||
使用命令:
|
||||
```bash
|
||||
cd ruoyi-admin && mvn spring-boot:run -Dspring-boot.run.profiles=dev
|
||||
```
|
||||
|
||||
启动后提示:
|
||||
- 应用地址: http://localhost:8080
|
||||
- API文档: http://localhost:8080/doc.html
|
||||
- 监控中心: http://localhost:9090/admin
|
||||
Reference in New Issue
Block a user