feat: implement QuestionBank CRUD with pagination and template query
- Add pagination support to findAll (page, limit query params) - Add findByTemplateId method to service - Add GET /by-template/:templateId endpoint to controller - Service already includes CRUD for QuestionBank and QuestionBankItem
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
# AuraK 启动手册
|
||||
|
||||
## 快速启动
|
||||
|
||||
```bash
|
||||
cd D:\AuraK
|
||||
wsl sudo service docker start
|
||||
wsl docker compose up -d
|
||||
```
|
||||
|
||||
## 检查状态
|
||||
|
||||
```bash
|
||||
wsl docker ps
|
||||
```
|
||||
|
||||
## 访问地址
|
||||
|
||||
| 服务 | 地址 |
|
||||
|------|------|
|
||||
| 前端 | http://localhost |
|
||||
| 后端API | http://localhost:3001 |
|
||||
| Elasticsearch | http://localhost:9200 |
|
||||
| Tika | http://localhost:9998 |
|
||||
| LibreOffice | http://localhost:8100 |
|
||||
|
||||
##常用命令
|
||||
|
||||
```bash
|
||||
# 停止服务
|
||||
wsl docker compose down
|
||||
|
||||
# 重启服务
|
||||
wsl docker compose restart
|
||||
|
||||
# 查看日志
|
||||
wsl docker compose logs -f server
|
||||
wsl docker compose logs -f web
|
||||
```
|
||||
|
||||
## 注意事项
|
||||
|
||||
- 需要先启动WSL中的Docker服务:`wsl sudo service docker start`
|
||||
- 再运行docker compose
|
||||
- 如果WSL中缺少镜像,会自动从Docker Hub拉取
|
||||
Reference in New Issue
Block a user