chore: add project-wide .gitignore for Angular, Django/Python, Docker, and generated exam data

This commit is contained in:
HowardMac
2025-10-22 19:51:22 +08:00
commit c9767b830b

70
.gitignore vendored Normal file
View File

@@ -0,0 +1,70 @@
# macOS
.DS_Store
.AppleDouble
.LSOverride
# Node / Angular
node_modules/
**/node_modules/
dist/
**/dist/
build/
**/build/
.tmp/
.ng/
.angular/
coverage/
# Python
__pycache__/
**/__pycache__/
*.py[cod]
*.pyo
*.pyd
*.egg-info/
.eggs/
.venv/
venv/
env/
ENV/
# Django / SQLite
*.sqlite3
**/db.sqlite3
exam_system/exam_server/db/
# Env / Secrets
.env
.env.*
*!/.env.example
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# IDE / Editor
.vscode/
.idea/
*.swp
*.swo
# Docker
**/.docker/
**/docker/*.env
# Cache
.cache/
**/.cache/
# Exam system generated data
exam_system/data/output/
exam_system/data/attempts/
# Angular app extras
exam_system/exam_web/.angular/
exam_system/exam_web/dist/