# ============================================ # JPD Portal .gitignore # ============================================ # This file prevents sensitive data, build artifacts, and system files # from being committed to version control. # # IMPORTANT: If files were already tracked before adding patterns here, # you need to untrack them: # git rm -r --cached bin/ obj/ # git rm --cached src/JPD.env # git commit -m "chore: remove tracked files now in .gitignore" # # CRITICAL FILES TO NEVER COMMIT: # - src/JPD.env (contains API keys and credentials) # - data/vectors.db (vector database) # - data/uploads/* (user uploaded files) # ============================================ # ============================================ # Claude Code # ============================================ .claude/logs/ .claude/settings.local.json .claude/.session # ============================================ # Project-Specific Sensitive Files # ============================================ # CRITICAL: Configuration file with API keys and credentials src/JPD.env JPD.env *.env # Application data and uploads src/JpdPortal/data/uploads/* !src/JpdPortal/data/uploads/.gitkeep src/JpdPortal/data/vectors.db src/JpdPortal/data/vectors.db-wal src/JpdPortal/data/vectors.db-shm src/JpdPortal/data/*.db src/JpdPortal/data/*.db-* # ============================================ # .NET Core / ASP.NET Core # ============================================ # Build results [Dd]ebug/ [Dd]ebugPublic/ [Rr]elease/ [Rr]eleases/ x64/ x86/ [Ww][Ii][Nn]32/ [Aa][Rr][Mm]/ [Aa][Rr][Mm]64/ bld/ [Bb]in/ [Oo]bj/ [Ll]og/ [Ll]ogs/ # Visual Studio cache/options .vs/ .vscode/ .idea/ *.rsuser *.suo *.user *.userosscache *.sln.docstates # User-specific files *.suo *.user *.sln.docstates *.userprefs # Mono auto generated files mono_crash.* # Build results [Dd]ebug/ [Rr]elease/ x64/ x86/ [Ww][Ii][Nn]32/ [Aa][Rr][Mm]/ [Aa][Rr][Mm]64/ bld/ [Bb]in/ [Oo]bj/ # Visual Studio profiler *.psess *.vsp *.vspx *.sap # Visual Studio Trace Files *.e2e # ReSharper _ReSharper*/ *.[Rr]e[Ss]harper *.DotSettings.user # JetBrains Rider *.sln.iml .idea/ .idea_modules/ # TeamCity _TeamCity* # DotCover *.dotCover # NCrunch _NCrunch_* .*crunch*.local.xml nCrunchTemp_* # NuGet *.nupkg *.snupkg **/packages/* !**/packages/build/ *.nuget.props *.nuget.targets project.lock.json project.fragment.lock.json artifacts/ # NuGet Symbol Packages *.snupkg # StyleCop StyleCopReport.xml # ============================================ # ASP.NET Scaffolding # ============================================ ScaffoldingReadMe.txt # ============================================ # Azure / Cloud # ============================================ # Azure Functions bin/ obj/ .azurefunctions/ local.settings.json # Publish profiles *.pubxml *.PublishSettings # ============================================ # AI/ML Specific # ============================================ # ML Models (large files - use Git LFS if needed) *.onnx *.pb *.pth *.h5 *.pkl *.joblib # ML Training artifacts training_output/ checkpoints/ tensorboard/ mlruns/ # Vector databases and embeddings *.db *.db-wal *.db-shm *.faiss *.index # ============================================ # Blazor Specific # ============================================ # Blazor WebAssembly cache **/wwwroot/service-worker-assets.js **/wwwroot/css/app.css **/wwwroot/css/bootstrap/ # ============================================ # Testing # ============================================ TestResults/ *.trx *.coverage *.coveragexml [Tt]est[Rr]esult*/ # ============================================ # Node.js (if using npm for frontend assets) # ============================================ node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* package-lock.json yarn.lock # ============================================ # Environment Variables & Secrets # ============================================ .env .env.local .env.development .env.test .env.production *.env appsettings.*.json !appsettings.json !appsettings.Development.json secrets.json # ============================================ # Database Files # ============================================ *.db *.db-shm *.db-wal *.sqlite *.sqlite3 # ============================================ # Logs # ============================================ *.log logs/ Logs/ *.log.* # ============================================ # OS Files # ============================================ # Windows Thumbs.db Thumbs.db:encryptable ehthumbs.db ehthumbs_vista.db [Dd]esktop.ini $RECYCLE.BIN/ *.lnk # macOS .DS_Store .AppleDouble .LSOverride ._* .Spotlight-V100 .Trashes # Linux *~ .directory .Trash-* # ============================================ # Backup Files # ============================================ *.bak *.backup *.old *.orig *.tmp *~ # ============================================ # Documentation Build Artifacts # ============================================ _site/ docs/_site/ # ============================================ # Package Management # ============================================ paket-files/ .paket/paket.exe # ============================================ # Python (if using Python scripts for ML) # ============================================ __pycache__/ *.py[cod] *$py.class .Python venv/ ENV/ .venv pip-log.txt pip-delete-this-directory.txt # ============================================ # Foundry VTT Large Binaries # ============================================ src/FoundryVTT-*/foundryvtt src/FoundryVTT-*/*.exe src/FoundryVTT-*/resources.pak src/FoundryVTT-*/icudtl.dat src/FoundryVTT-*/*.so src/FoundryVTT-*/*.pak src/FoundryVTT-*/chrome_* src/FoundryVTT-*/libffmpeg.so src/FoundryVTT-*/libvulkan.so* src/FoundryVTT-*/locales/ # ============================================ # Miscellaneous # ============================================ *.swp *.swo *.swn *~ .vscode/* !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json