# =========================================================
# EnterpriseRAG AI - Production Git Ignore
# =========================================================

# =========================================================
# PYTHON
# =========================================================

__pycache__/
*.py[cod]
*$py.class

# Python builds
build/
dist/
.eggs/
*.egg-info/

# Python environments
.venv/
venv/
env/

# =========================================================
# ENVIRONMENT VARIABLES
# =========================================================

.env
.env.*
!.env.example

# Secrets
secrets/
credentials/
*.pem
*.key
*.crt

# =========================================================
# DATABASES
# =========================================================

*.db
*.sqlite3

# =========================================================
# LOGS
# =========================================================

*.log
logs/
*.pid
*.seed
*.out
*.err

# =========================================================
# RUNTIME DATA
# =========================================================

uploaded_docs/
uploads/
cache/
tmp/
temp/
runtime/

# AI generated data
vector_store/
faiss_index/
embeddings/

# =========================================================
# FRONTEND (VITE / REACT)
# =========================================================

frontend/node_modules/
frontend/dist/
frontend/.vite/
frontend/.cache/

# Frontend env
frontend/.env
frontend/.env.*

# =========================================================
# TYPESCRIPT
# =========================================================

*.tsbuildinfo

# =========================================================
# TESTING / COVERAGE
# =========================================================

.coverage
htmlcov/
coverage/
.pytest_cache/

# =========================================================
# IDE / EDITOR
# =========================================================

.vscode/
.idea/

# JetBrains
*.iml

# =========================================================
# OS FILES
# =========================================================

.DS_Store
Thumbs.db
desktop.ini

# =========================================================
# DOCKER
# =========================================================

docker-data/
*.tar

# Docker volumes
volumes/

# =========================================================
# KUBERNETES / INFRA
# =========================================================

kubeconfig*
*.kubeconfig

# Terraform
*.tfstate
*.tfstate.*
.terraform/

# =========================================================
# OBSERVABILITY
# =========================================================

grafana-data/
prometheus-data/
jaeger-data/

otel-data/

# =========================================================
# BENCHMARKS / LOAD TESTING
# =========================================================

benchmarks/results/
benchmarks/reports/

locust-results/
k6-results/

# =========================================================
# CACHE FILES
# =========================================================

.cache/
.mypy_cache/
.ruff_cache/

# =========================================================
# RAILWAY / VERCEL
# =========================================================

.vercel/
.railway/

# =========================================================
# SWAP FILES
# =========================================================

*.swp
*.swo
*~

# =========================================================
# MACROS / TEMP
# =========================================================

*.tmp
*.bak
*.old