From 1518b729691d05029563d92162e93d78cc29efae Mon Sep 17 00:00:00 2001 From: Woody Date: Wed, 22 Apr 2026 15:57:04 +0800 Subject: [PATCH] chore: add .gitignore with Python, Node, env, and ChromaDB exclusions --- .gitignore | 71 ++++++++++++++++++++++++++++++++++++++++ backend/uploads/.gitkeep | 0 2 files changed, 71 insertions(+) create mode 100644 .gitignore create mode 100644 backend/uploads/.gitkeep diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f924bfd --- /dev/null +++ b/.gitignore @@ -0,0 +1,71 @@ +# 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 + +# IDEs +.vscode/ +.idea/ +*.swp +*.swo +*~ + +# OS +.DS_Store +Thumbs.db + +# Environment variables +.env +.env.local +.env.*.local + +# ChromaDB +chroma_db/ + +# Uploads +backend/uploads/* +!backend/uploads/.gitkeep + +# Node.js +node_modules/ +frontend/dist/ +frontend/build/ +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Test coverage +.coverage +htmlcov/ +.pytest_cache/ + +# Docker +.dockerignore + +# Misc +*.bak +*.tmp diff --git a/backend/uploads/.gitkeep b/backend/uploads/.gitkeep new file mode 100644 index 0000000..e69de29