# Delphi Consulting Group Database System - .gitignore # ===== SECURITY - CRITICAL TO IGNORE ===== # Environment variables with secrets .env .env.local .env.production .env.development .env.test # Database files (contain sensitive data) *.db *.sqlite *.sqlite3 delphi_database.db # Backup files (contain sensitive data) backups/ *.backup *.bak *.dump # Upload files (may contain sensitive documents) uploads/ user-uploads/ # SSL certificates and keys ssl/ *.pem *.key *.crt *.cert nginx/ssl/ # ===== LEGACY PASCAL FILES ===== *.SC *.SC2 *.LIB # ===== PYTHON ===== # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ pip-wheel-metadata/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover *.py,cover .hypothesis/ .pytest_cache/ # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # pyenv .python-version # pipenv Pipfile.lock # PEP 582 __pypackages__/ # Celery stuff celerybeat-schedule celerybeat.pid # SageMath parsed files *.sage.py # Environments .venv env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # mypy .mypy_cache/ .dmypy.json dmypy.json # Pyre type checker .pyre/ # ===== DOCKER ===== # Docker volumes data data/ docker-data/ postgres-data/ mysql-data/ # Docker override files docker-compose.override.yml docker-compose.local.yml # ===== IDEs & EDITORS ===== # Visual Studio Code .vscode/ *.code-workspace # PyCharm .idea/ # Sublime Text *.sublime-workspace *.sublime-project # Vim *.swp *.swo *~ # Emacs *~ \#*\# /.emacs.desktop /.emacs.desktop.lock *.elc auto-save-list tramp .\#* # Nano *.save # ===== OPERATING SYSTEMS ===== # macOS .DS_Store .AppleDouble .LSOverride Icon? # Thumbnails ._* # Files that might appear in the root of a volume .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns .com.apple.timemachine.donotpresent # Directories potentially created on remote AFP share .AppleDB .AppleDesktop Network Trash Folder Temporary Items .apdisk # Windows Thumbs.db Thumbs.db:encryptable ehthumbs.db ehthumbs_vista.db *.stackdump [Dd]esktop.ini $RECYCLE.BIN/ *.cab *.msi *.msix *.msm *.msp *.lnk # Linux *~ .fuse_hidden* .directory .Trash-* .nfs* # ===== LOGS & TEMPORARY FILES ===== # Log files *.log logs/ log/ *.log.* # Runtime data pids *.pid *.seed *.pid.lock # Coverage directory used by tools like istanbul coverage/ *.lcov # nyc test coverage .nyc_output # Temporary folders tmp/ temp/ .tmp/ .temp/ # Cache directories .cache/ .parcel-cache/ # ===== NODE.JS (if using any frontend tools) ===== node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* # Optional npm cache directory .npm # Optional eslint cache .eslintcache # Optional stylelint cache .stylelintcache # Microbundle cache .rpt2_cache/ .rts2_cache_cjs/ .rts2_cache_es/ .rts2_cache_umd/ # ===== STATIC ASSETS & MEDIA ===== # Compiled static files (if generated) staticfiles/ static-collected/ # Media files (user uploads) media/ user-media/ # ===== DEVELOPMENT & DEBUGGING ===== # Profiling data .prof # Debug dumps *.dmp # Core dumps core # Memory dumps heapdump.* # ===== DEPLOYMENT & CI/CD ===== # Terraform *.tfstate *.tfstate.* .terraform/ .terraform.lock.hcl # Ansible *.retry # Vagrant .vagrant/ # Local deployment scripts (may contain secrets) deploy-local.sh deploy-prod.sh *-local.* # ===== BACKUP & ARCHIVE FILES ===== # Archive files *.tar *.tar.gz *.tgz *.zip *.rar *.7z # Database exports (may contain sensitive data) exports/ *.sql *.csv.bak # ===== DOCUMENTATION BUILD ===== # Sphinx documentation docs/_build/ # MkDocs site/ # ===== MISC ===== # Thumbnails and previews *.thumb *.preview # Lock files (various tools) *.lock .lock # Temporary editor files *.tmp *.temp *.orig # OS generated files .fseventsd .Spotlight-V100 .Trashes # ===== PROJECT SPECIFIC ===== # Local configuration overrides config.local.py settings.local.py # CSV files with actual data (template headers are OK) # Keep empty header-only CSV files for reference # Exclude any CSV files with real customer/financial data *.csv.data *_data.csv *-data.csv # Allow specific patterns for templates/examples !**/Office/*_template.csv !**/Office/*_example.csv # But exclude CSV files in Office that may have data old database/Office/*.csv # Warning: CSV files in Office/ directory contain real legacy data # Only commit header-only CSV files for structure reference # Test databases test.db test.sqlite test_*.db # Local development utilities dev-utils/ local-scripts/ # Generated API documentation api-docs/ openapi.json # Performance profiling results profiling/ *.prof # ===== SECURITY SCANNING ===== # Security scan results .snyk vulnerability-report.* security-report.* # ===== COMMENTS FOR DEVELOPERS ===== # Always review before committing: # - No passwords, API keys, or secrets # - No database files with real data # - No SSL certificates or private keys # - No user uploads or sensitive documents # - No local configuration files # - No backup files containing data