- Add unified start.sh script with subcommands (all/backend/frontend) - Add process management (--stop, --status) - Remove separate start_backend.sh and start_frontend.sh - Update setup_dev_env.sh with pre-flight checks and --cpu-only/--skip-db options - Update .env.example to remove sensitive data and add DIFY translation config - Add .pid/ to .gitignore for process management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
108 lines
1.2 KiB
Plaintext
108 lines
1.2 KiB
Plaintext
# Tool_OCR - Git Ignore Configuration
|
|
|
|
# ===== Python =====
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# ===== Virtual Environments =====
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv
|
|
|
|
# ===== Conda =====
|
|
.conda/
|
|
|
|
# ===== IDE =====
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
.claude/settings.local.json
|
|
|
|
# ===== Environment Variables =====
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# ===== Process ID Files =====
|
|
.pid/
|
|
|
|
# ===== Logs =====
|
|
logs/
|
|
*.log
|
|
|
|
# ===== Uploads and Temporary Files =====
|
|
uploads/
|
|
storage/
|
|
temp/
|
|
demo_docs/
|
|
|
|
# ===== Models =====
|
|
models/paddleocr/*
|
|
models/argostranslate/*
|
|
!models/.gitkeep
|
|
|
|
# ===== Database =====
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# ===== Testing =====
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
|
|
# ===== Frontend =====
|
|
node_modules/
|
|
dist/
|
|
.cache/
|
|
.parcel-cache/
|
|
.next/
|
|
out/
|
|
build/
|
|
|
|
# ===== macOS =====
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
|
|
# ===== Linux =====
|
|
.directory
|
|
|
|
# ===== Windows =====
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
|
|
# Test and temporary files
|
|
backend/uploads/*
|
|
storage/uploads/*
|
|
storage/results/*
|
|
*.log
|
|
__pycache__/
|
|
*.bak
|
|
# Ignore temporary test files in root, but allow backend/tests/
|
|
test_*.py
|
|
!backend/tests/**/test_*.py
|