- ./start.sh 现支持 start/stop/restart/status 子命令,无参默认 start - 后台运行 + PID 文件(worker.pid) + 日志(worker.log),手动控制开关 - 前台热重载开发仍用 run_worker.sh - gitignore 补 worker.pid / worker.log Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
469 B
Plaintext
24 lines
469 B
Plaintext
venv/
|
||
__pycache__/
|
||
*.pyc
|
||
.env
|
||
|
||
|
||
# 网关配置(含密码,不入 git)
|
||
gateway/config.json
|
||
|
||
# worker 配置(含鉴权密码,不入 git)
|
||
worker_config.json
|
||
|
||
# worker 运行期文件(PID / 日志)
|
||
worker.pid
|
||
worker.log
|
||
|
||
# SegFormer 模型权重(~323MB,体积过大,不入 git,见 OFFLINE_ASSETS.md)
|
||
hairline/models/face-parsing/model.safetensors
|
||
|
||
# 生成的标注图、测试输出
|
||
static/annotations/*
|
||
!static/annotations/.gitkeep
|
||
tests/output/
|