Files
PTGen/.gitignore
DengDai 644b5aaaf8 init
2025-12-08 14:47:24 +08:00

125 lines
2.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ===================================================================
# .gitignore for a FastAPI (Python) + Vue.js (Node.js) Project
# ===================================================================
*.db
.vscode
**/config.json
# --- General ---
#忽略所有 .env 文件,只提交 .env.example 模板
.env
.env.*
!.env.example
#日志文件
*.log
*.log*
#临时文件
*~
*.swp
*.swo
# ===================================================================
# Python / FastAPI (Backend)
# ===================================================================
#虚拟环境 (常见的名称venv, env, .venv, .env)
#使用斜杠 / 确保只匹配根目录下的,避免误伤子目录
/venv/
/env/
/.venv/
/.env/
# Python 缓存文件
__pycache__/
*.py[cod]
*$py.class
#运行时文件
*.pyc
#单元测试和覆盖率报告
.pytest_cache/
.coverage
.coverage.*
/htmlcov/
nosetests.xml
coverage.xml
# Sphinx 文档
/docs/_build/
# Jupyter Notebook 检查点
.ipynb_checkpoints
#数据库文件 (开发时使用的本地数据库)
*.sqlite3
db.sqlite3
# ===================================================================
# Node.js / Vue.js (Frontend)
# ===================================================================
#依赖目录 (最重要的规则!)
/node_modules/
#本地环境配置文件 (Vue CLI 和 Vite 的标准)
.env.local
.env.*.local
#构建输出目录 (Vue CLI, Vite, etc.)
/dist/
/public/build/
#日志文件
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Vite 缓存
.vite/
# ===================================================================
# IDE 和编辑器配置
# ===================================================================
# VSCode
#忽略所有 .vscode 下的文件,但保留团队共享的配置
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
!.vscode/launch.json
# JetBrains / PyCharm
.idea/
# Sublime Text
*.sublime-project
*.sublime-workspace
# Atom
.atom/
# ===================================================================
# 操作系统生成的文件
# ===================================================================
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/