- Remove Docker deployment files (1panel doesn't use Docker) - Unify .env files: .env.example -> .env (single config file) - Merge start.sh and start-prod.sh into unified start.sh with --prod flag - Update setup_dev_env.sh to use .env instead of .env.local - Add DEPLOY.md with 1panel deployment guide 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
118 lines
1.4 KiB
Plaintext
118 lines
1.4 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 =====
|
|
# 實際配置檔案包含敏感資訊,不追蹤
|
|
.env
|
|
frontend/.env
|
|
|
|
# ===== 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
|