Blame view

scripts/README.md 1.25 KB
3abbc95a   tangwang   重构(scripts): 整理sc...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
  # Scripts
  
  `scripts/` 现在只保留当前架构下仍然有效的运行、运维、环境和数据处理脚本。
  
  ## 当前分类
  
  - 服务编排
    - `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`
  
  - 环境初始化
    - `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`
  
  - 评估与专项工具
    - `evaluation/`
    - `redis/`
    - `debug/`
  
  ## 已迁移
  
  - 基准压测与 smoke 脚本:迁到 `benchmarks/`
  - 手工接口试跑脚本:迁到 `tests/manual/`
  
  ## 已清理
  
  - 历史备份目录:`indexer__old_2025_11/`
  - 过时壳脚本:`start.sh`
  - Conda 时代残留:`install_server_deps.sh`
  
  后续如果新增脚本,优先放到明确子目录,不再把 benchmark、manual、历史备份直接丢回根 `scripts/`