# ===================================================== # LoveACE Project .gitignore # ===================================================== # ===== 敏感信息和配置文件 ===== # 配置文件(包含数据库密码等敏感信息) config_local.json config_prod.json config_dev.json config.json .env .env.* !.env.example # 密钥和证书文件 *.key *.pem *.p12 *.pfx *.crt *.cer secrets/ keys/ # ===== 日志文件 ===== # 所有日志文件 logs/ *.log *.log.* log/ log_* # ===== 数据库文件 ===== # SQLite 数据库 *.db *.sqlite *.sqlite3 # 数据库备份 *.sql *.dump backup/ backups/ # ===== 用户数据和上传文件 ===== # 用户上传的文件 data/ uploads/ media/ static/uploads/ user_data/ # 文档和视频文件 *.pdf *.doc *.docx *.mp4 *.avi *.mov # ===== Python 相关 ===== # RUFF .ruff-cache/ # 字节码文件 __pycache__/ *.py[cod] *$py.class *.so *.pyc # 分发/打包 .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ share/python-wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller *.manifest *.spec # Installer logs pip-log.txt pip-delete-this-directory.txt # 单元测试/覆盖率报告 htmlcov/ .tox/ .nox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover *.py,cover .hypothesis/ .pytest_cache/ cover/ # 虚拟环境 .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ # mypy .mypy_cache/ .dmypy.json dmypy.json # ===== IDE 和编辑器 ===== # VSCode .vscode/ !.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json !.vscode/*.code-snippets # PyCharm .idea/ *.swp *.swo # Vim *~ .*.swp .*.swo # Emacs .#* # Sublime Text *.sublime-project *.sublime-workspace # ===== 系统文件 ===== # macOS .DS_Store .AppleDouble .LSOverride Icon? ._* .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns .com.apple.timemachine.donotpresent # 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* # ===== 临时文件和缓存 ===== # 临时文件 *.tmp *.temp *.swp *.swo temp/ tmp/ .cache/ # 缓存文件 cache/ .cache/ *.cache # ===== 开发工具 ===== # Jupyter Notebook .ipynb_checkpoints # IPython profile_default/ ipython_config.py # 包管理 # pdm .pdm.toml __pypackages__/ # Celery celerybeat-schedule celerybeat.pid # SageMath parsed files *.sage.py # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject # mkdocs documentation /site # ===== 部署相关 ===== # Docker .dockerignore Dockerfile.local docker-compose.override.yml # Kubernetes *.yaml.local *.yml.local # Terraform *.tfstate *.tfstate.* .terraform/ .terraform.lock.hcl # ===== 其他 ===== # 压缩文件 *.zip *.tar.gz *.rar *.7z # 备份文件 *.bak *.backup *.old *~ # 测试数据 test_data/ mock_data/ sample_data/ # 性能分析 *.prof *.pstats # 安全扫描报告 security_report.* vulnerability_report.* # ===== Node.js 相关 ===== # npm node_modules/ npm-debug.log* lerna-debug.log* .pnpm-debug.log* # pnpm .pnpm-store/ # Runtime data pids *.pid *.seed *.pid.lock # Coverage directory used by tools like istanbul coverage/ *.lcov # nyc test coverage .nyc_output # Grunt intermediate storage .grunt # Bower dependency directory bower_components # node-waf configuration .lock-wscript # Compiled binary addons build/Release # Dependency directories jspm_packages/ # TypeScript cache *.tsbuildinfo # 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/ # Optional REPL history .node_repl_history # Output of 'npm pack' *.tgz # package-lock files package-lock.json # parcel-bundler cache .cache .parcel-cache # Next.js build output .next out # Nuxt.js build / generate output .nuxt dist # Storybook build outputs .out .storybook-out storybook-static # Rollup.js default build output dist/ # Serverless directories .serverless/ # FuseBox cache .fusebox/ # DynamoDB Local files .dynamodb/ # TernJS port file .tern-port # Stores VSCode versions used for testing VSCode extensions .vscode-test # VitePress specific docs/.vitepress/dist docs/.vitepress/cache .temp # ===== 文档相关 ===== # 自动生成的API文档 docs/api/*.md !docs/api/index.md # VitePress构建输出 docs/.vitepress/dist/ docs/.vitepress/cache/ docs/.vitepress/public/ # ===== 语言统计和分析 ===== # GitHub Linguist (注意:不要忽略.gitattributes文件本身) # Language statistics .linguist-* language-stats.json languages.json # Code analysis .codeclimate.yml .codacy.yml sonar-project.properties .sonarqube/ # Dependency analysis dependency-check-report.* .dependency-check/ # License scan license-report.* .license-report/ # Security analysis .snyk .github/dependabot.yml