Blame view

scripts/README.md 1.42 KB
3abbc95a   tangwang   重构(scripts): 整理sc...
1
2
  # Scripts
  
32e9b30c   tangwang   scripts/ 根目录主要保留启...
3
  `scripts/` 现在只保留当前架构下仍然有效的运行、运维、环境和数据处理脚本,并按职责拆到稳定子目录,避免继续在根目录平铺。
3abbc95a   tangwang   重构(scripts): 整理sc...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  
  ## 当前分类
  
  - 服务编排
    - `service_ctl.sh`
    - `start_backend.sh`
    - `start_indexer.sh`
    - `start_frontend.sh`
    - `start_eval_web.sh`
    - `start_embedding_service.sh`
    - `start_embedding_text_service.sh`
    - `start_embedding_image_service.sh`
    - `start_reranker.sh`
    - `start_translator.sh`
    - `start_tei_service.sh`
    - `start_cnclip_service.sh`
    - `stop.sh`
    - `stop_tei_service.sh`
    - `stop_cnclip_service.sh`
32e9b30c   tangwang   scripts/ 根目录主要保留启...
23
24
    - `frontend/`
    - `ops/`
3abbc95a   tangwang   重构(scripts): 整理sc...
25
26
27
28
29
30
31
32
33
34
35
36
37
  
  - 环境初始化
    - `create_venv.sh`
    - `init_env.sh`
    - `setup_embedding_venv.sh`
    - `setup_reranker_venv.sh`
    - `setup_translator_venv.sh`
    - `setup_cnclip_venv.sh`
  
  - 数据与索引
    - `create_tenant_index.sh`
    - `build_suggestions.sh`
    - `mock_data.sh`
32e9b30c   tangwang   scripts/ 根目录主要保留启...
38
39
40
    - `data_import/`
    - `inspect/`
    - `maintenance/`
3abbc95a   tangwang   重构(scripts): 整理sc...
41
42
43
44
45
  
  - 评估与专项工具
    - `evaluation/`
    - `redis/`
    - `debug/`
32e9b30c   tangwang   scripts/ 根目录主要保留启...
46
    - `translation/`
3abbc95a   tangwang   重构(scripts): 整理sc...
47
48
49
50
51
52
53
54
55
56
57
58
59
  
  ## 已迁移
  
  - 基准压测与 smoke 脚本:迁到 `benchmarks/`
  - 手工接口试跑脚本:迁到 `tests/manual/`
  
  ## 已清理
  
  - 历史备份目录:`indexer__old_2025_11/`
  - 过时壳脚本:`start.sh`
  - Conda 时代残留:`install_server_deps.sh`
  
  后续如果新增脚本,优先放到明确子目录,不再把 benchmark、manual、历史备份直接丢回根 `scripts/`