- Organize files into logical directories (docs/, scripts/, tests/) - Add comprehensive documentation (README, CONTRIBUTING, CHANGELOG) - Create deployment automation scripts - Add Docker production configuration - Update .gitignore and add .dockerignore - Remove temporary and test files from root - Improve settings.py with DEBUG from env variable Added: - README.md with project overview - CONTRIBUTING.md for contributors - CHANGELOG.md for version tracking - PROJECT_STATUS.md with current state - docker-compose.prod.yml for production - nginx.conf for production web server - scripts/deploy.sh for automated deployment - scripts/check-config.sh for configuration validation - scripts/setup-ssl.sh for SSL certificate setup - docs/DEPLOYMENT.md with detailed deployment guide - docs/ENV_VARIABLES.md with all environment variables Moved: - Documentation to docs/ - Scripts to scripts/ - Test files to tests/ Removed: - .history/ directory - Test response JSON files from root - settings_production.py (merged into settings.py) This commit prepares the project for: - Production deployment - Team collaboration - Docker containerization - Proper documentation
86 lines
818 B
Plaintext
86 lines
818 B
Plaintext
# SmartSolTech .gitignore
|
|
|
|
# Python
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
__pycache__/
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
*.egg
|
|
|
|
# Virtual Environment
|
|
.venv/
|
|
venv/
|
|
env/
|
|
ENV/
|
|
|
|
# Django
|
|
*.log
|
|
local_settings.py
|
|
db.sqlite3
|
|
db.sqlite3-journal
|
|
/media
|
|
/staticfiles
|
|
*.pot
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# IDEs
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
.history/
|
|
|
|
# Docker
|
|
docker-compose.override.yml
|
|
|
|
# Certificates
|
|
certbot/
|
|
|
|
# Backups
|
|
*.sql
|
|
*.dump
|
|
backup/
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
*.bak
|
|
|
|
# Test responses
|
|
tests/response_*.json
|
|
|
|
# QR Codes (generated)
|
|
static/qr_codes/
|
|
smartsoltech/static/qr_codes/
|
|
smartsoltech/staticfiles/qr_codes/
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
|
|
# Cache
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
.mypy_cache/
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|