11# =============================================
2- # Python
2+ # 📦 Package Manager
33# =============================================
4- # Byte-compiled / optimized / DLL files
5- __pycache__ /
6- * .py [cod ]
7- * $py.class
8- * .so
9-
10- # Virtual environments
11- * .venv /
12- venv /
13- .venv /
14-
15- # pip/poetry lock files (commit the template, not the lock)
16- # pip freeze output (local dev artifact)
17- requirements.txt
4+ # pnpm
5+ .pnpm /
6+ pnpm-debug.log *
7+ .pnpm-store /
188
19- # PyInstaller
20- * .manifest
21- * .spec
22-
23- # Installer logs
24- pip-log.txt
25- pip-delete-this-directory.txt
9+ # npm/yarn fallbacks
10+ node_modules /
11+ package-lock.json
12+ yarn.lock
2613
27- # Unit test / coverage reports
28- htmlcov /
29- .tox /
30- .nox /
31- .coverage
32- .coverage. *
33- .cache
34- nosetests.xml
35- coverage.xml
36- * .cover
37- * .py,cover
38- .hypothesis /
39- .pytest_cache /
40- pytest_cache /
14+ # =============================================
15+ # 🏗️ Build Outputs
16+ # =============================================
17+ .next /
18+ out /
19+ dist /
20+ build /
21+ * .tgz
22+ .turbo /
4123
42- # Translations
43- * .mo
44- * .pot
24+ # Prisma generated client
25+ apps / api / node_modules / .prisma /
26+ packages / * / node_modules / .prisma /
4527
46- # Environments
28+ # =============================================
29+ # 🔐 Environment & Secrets
30+ # =============================================
4731.env
4832.env.local
4933.env. * .local
50- * .log
51- local_settings.py
52- db.json
53-
54- # Flask stuff
55- instance /
56- .webassets-cache
34+ .env.production
35+ .env.development
36+ cursor.env
5737
58- # Scrapy
59- .scrapy
38+ # Keep example files
39+ ! .env.example
40+ apps /api /.env.example
41+ apps /web /.env.example
6042
61- # Django stuff:
43+ # =============================================
44+ # 🗄️ Database & Runtime
45+ # =============================================
46+ * .sqlite
47+ * .sqlite3
48+ * .db
49+ * .db-journal
6250* .log
63- local_settings.py
64- db.sqlite3
65- db.sqlite3-journal
66-
67- # FastAPI / uvicorn
68- * .pid
69-
70- # Jupyter Notebook
71- .ipynb_checkpoints
72-
73- # IPython
74- profile_default /
75- ipython_config.py
7651
77- # pyenv
78- .python-version
52+ # Runtime artifacts
53+ .runtime /
54+ .backups /
55+ instance /
7956
80- # PEP 582
81- __pypackages__ /
57+ # Flyway migrations outputs
58+ apps / api / db / flyway.conf
8259
83- # Celery
84- celerybeat-schedule
85- celerybeat.pid
60+ # =============================================
61+ # 🤖 ALPR Service (External ML Service)
62+ # =============================================
63+ # ALPR service is a separate heavy ML service
64+ # Should be deployed and run independently
65+ services /alpr /
66+ ! services /alpr /README.md
67+ ! services /alpr /requirements.txt
68+ ! services /alpr /requirements-cpu.txt
8669
87- # SageMath parsed files
88- * .sage.py
70+ # ALPR model weights (large binary files - use Git LFS or download separately)
71+ # !services/alpr/yolov8n.pt # Uncomment if you want to track the model file
8972
90- # Environments (Django/ninja)
91- .env
92- .venv
93- env /
73+ # ML caches
74+ * .cache
75+ __pycache__ /
76+ * .py [cod ]
77+ * $py.class
78+ * .so
79+ .venv /
9480venv /
95- ENV /
96- env.bak /
97- venv.bak /
98-
99- # Spyder project settings
100- .spyderproject
101- .spyproject
102-
103- # Rope project settings
104- .ropeproject
105-
106- # mkdocs
107- /site
108-
109- # mypy
110- .mypy_cache /
111- .dmypy.json
112- dmypy.json
113-
114- # Pyre type checker
115- .pyre /
11681
11782# =============================================
118- # Node.js / npm
83+ # 📸 Media & Uploads
11984# =============================================
120- # Dependencies
121- node_modules /
122- jspm_packages /
123-
124- # Build outputs
125- .next /
126- out /
127- build /
128- dist /
129- * .tgz
130-
131- # Generated files
132- * .log
133- npm-debug.log *
134- yarn-debug.log *
135- yarn-error.log *
136- lerna-debug.log *
137- .pnpm-debug.log *
138-
139- # Diagnostic reports
140- * .tsbuildinfo
141-
142- # Optional npm cache directory
143- .npm
144-
145- # Optional eslint cache
146- .eslintcache
147-
148- # Optional stylelint cache
149- .stylelintcache
85+ media /
86+ uploads /
87+ * .media
88+ * .upload
15089
151- # Microbundle
152- * .tsbuildinfo
90+ # Keep empty placeholder for structure
91+ uploads / .gitkeep
15392
15493# =============================================
155- # Services / ML Models
94+ # 🧪 Testing & Coverage
15695# =============================================
157- # ML model weights - use Git LFS for large models
158- * .pt
159- * .pth
160- * .onnx
161- * .h5
162- * .pb
163- * .tflite
164- * .mlmodel
165- * .pkl
166- * .pickle
167- ! services /alpr /yolov8n.pt
96+ htmlcov /
97+ .coverage
98+ .coverage. *
99+ .cache /
100+ nosetests.xml
101+ coverage.xml
102+ * .cover
103+ .pytest_cache /
104+ pytest_cache /
105+ vitest.config. * .timestamp- *
168106
169- # Dataset cache
170- * .cache
107+ # Test scripts that may be generated
108+ apps / web / scripts / smoke-web.mjs
171109
172- # Model checkpoints
173- checkpoints /
174- * .ckpt
110+ # =============================================
111+ # 📝 Documentation & Evidence
112+ # =============================================
113+ release-evidence /
175114
176115# =============================================
177- # IDE / OS
116+ # 🎨 IDE & Editor
178117# =============================================
179- # IDE
180118.idea /
181- .idea_modules /
182119* .iml
183120.vscode /
184121! .vscode /settings.json
@@ -190,50 +127,97 @@ checkpoints/
190127* ~
191128.DS_Store
192129
193- # Project specific
194- cursor.env
130+ # Cursor
195131.cursor /
132+ .cursorignore
196133
197- # Temporary files
198- * .tmp
199- * .temp
200- * .bak
201- * .orig
202- * ___jb_tmp___ *
203-
204- # OS
134+ # =============================================
135+ # 💻 OS Specific
136+ # =============================================
205137Thumbs.db
206138Thumbs.db:encryptable
207139ehthumbs.db
208140ehthumbs_vista.db
209141* .lnk
210142
211143# =============================================
212- # Docker / Dev
144+ # 🔒 Security & Keys
145+ # =============================================
146+ * .pem
147+ * .key
148+ * .crt
149+ * .p12
150+ * .pfx
151+ * .jks
152+
153+ # =============================================
154+ # 📦 Docker & Infrastructure
213155# =============================================
214156.dockerignore
215157
216- # Docker volumes
158+ # Docker volumes (runtime data)
217159* .vol
218160
219- # Local development
220- * .local
221- .local /
161+ # Keep docker-compose files
162+ ! infra / docker / docker-compose * .yml
163+ ! infra / docker / minio /
222164
223165# =============================================
224- # Backup & Evidence artifacts
166+ # 🗂️ Temporary & Backup Files
225167# =============================================
226- apps /api /.backups /
227- apps /api /.runtime /
228- release-evidence /* /artifacts /
168+ * .tmp
169+ * .temp
170+ * .bak
171+ * .orig
172+ * ___jb_tmp___ *
229173* .backup
230174* .sql.bak
231175
232- # Media / Uploads
233- media /
234- uploads /
235- * .media
176+ # Python
177+ profile_default /
178+ ipython_config.py
179+ .python-version
180+
181+ # Jupyter
182+ .ipynb_checkpoints /
183+
184+ # =============================================
185+ # 🌐 Web Build Artifacts
186+ # =============================================
187+ apps /web /dist /
188+ apps /web /.parcel-cache /
189+
190+ # TypeScript
191+ * .tsbuildinfo
192+
193+ # ESLint
194+ .eslintcache
195+ .stylelintcache
236196
237- # Observability (runtime)
197+ # =============================================
198+ # 📊 Observability & Metrics
199+ # =============================================
238200* .prom
239201* .metrics
202+ * .grafana /
203+
204+ # =============================================
205+ # 🔧 Development Scripts (Not for Production)
206+ # =============================================
207+ debug_lines.py
208+ find_chars.py
209+ find_garbled.py
210+ fix_ * .py
211+ fix_encoding * .py
212+ fix_log * .txt
213+ fix_strings.py
214+
215+ # =============================================
216+ # 📦 Workspace Specific
217+ # =============================================
218+ packages /* /dist /
219+ packages /* /build /
220+ packages /* /.turbo /
221+
222+ # Private/Untracked overrides
223+ cursor.env
0 commit comments