Add .gitignore for env, instance and uploads
This commit is contained in:
+9
-57
@@ -1,67 +1,19 @@
|
|||||||
# Python
|
.env
|
||||||
__pycache__/
|
.env.*
|
||||||
*.py[cod]
|
|
||||||
*$py.class
|
|
||||||
*.so
|
|
||||||
.Python
|
|
||||||
build/
|
|
||||||
develop-eggs/
|
|
||||||
dist/
|
|
||||||
downloads/
|
|
||||||
eggs/
|
|
||||||
.eggs/
|
|
||||||
lib/
|
|
||||||
lib64/
|
|
||||||
parts/
|
|
||||||
sdist/
|
|
||||||
var/
|
|
||||||
wheels/
|
|
||||||
*.egg-info/
|
|
||||||
.installed.cfg
|
|
||||||
*.egg
|
|
||||||
|
|
||||||
# Virtual environments
|
|
||||||
venv/
|
venv/
|
||||||
ENV/
|
__pycache__/
|
||||||
env/
|
*.pyc
|
||||||
.venv/
|
*.pyo
|
||||||
|
*.pyd
|
||||||
|
.Python
|
||||||
|
|
||||||
# IDE
|
|
||||||
.vscode/
|
|
||||||
.idea/
|
|
||||||
*.swp
|
|
||||||
*.swo
|
|
||||||
*~
|
|
||||||
|
|
||||||
# Application data
|
|
||||||
instance/
|
instance/
|
||||||
*.db
|
*.db
|
||||||
*.sqlite
|
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
|
|
||||||
# Uploads
|
app/static/uploads/*
|
||||||
app/static/uploads/photos/*
|
!app/static/uploads/.gitkeep
|
||||||
app/static/uploads/qrcodes/*
|
|
||||||
app/static/uploads/reports/*
|
|
||||||
app/static/uploads/temp/*
|
|
||||||
|
|
||||||
# Keep directory structure
|
|
||||||
!app/static/uploads/photos/.gitkeep
|
|
||||||
!app/static/uploads/qrcodes/.gitkeep
|
|
||||||
!app/static/uploads/reports/.gitkeep
|
|
||||||
!app/static/uploads/temp/.gitkeep
|
|
||||||
|
|
||||||
# Environment
|
|
||||||
.env
|
|
||||||
|
|
||||||
# Logs
|
|
||||||
*.log
|
*.log
|
||||||
logs/
|
|
||||||
|
|
||||||
# OS
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
desktop.ini
|
|
||||||
|
|
||||||
# Test files
|
|
||||||
test_guests.xlsx
|
|
||||||
|
|||||||
Reference in New Issue
Block a user