- Add debug_font_path, demo_docs_dir, e2e_api_base_url to config.py - Fix hardcoded paths in pp_structure_debug.py, create_demo_images.py - Fix hardcoded paths in test files - Update .env.example with new configuration options - Update .gitignore to exclude AI development files (.claude/, openspec/, AGENTS.md, CLAUDE.md) - Add production startup script (start-prod.sh) - Add README.md with project documentation - Add 1panel Docker deployment files (docker-compose.yml, Dockerfiles, nginx.conf) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
120 lines
1.5 KiB
Plaintext
120 lines
1.5 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
|
|
|
|
# ===== AI Development Assistant Files =====
|
|
# Claude Code configuration and settings
|
|
.claude/
|
|
# OpenSpec change management (proposals, specs, archives)
|
|
openspec/
|
|
# AI agent instructions
|
|
AGENTS.md
|
|
CLAUDE.md
|
|
|
|
# ===== Environment Variables =====
|
|
# Local environment files (contain secrets, never commit)
|
|
.env.local
|
|
.env.*.local
|
|
frontend/.env.local
|
|
frontend/.env.*.local
|
|
|
|
# ===== Process ID Files =====
|
|
.pid/
|
|
.pid-prod/
|
|
|
|
# ===== 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
|