📚 Project restructuring and CI/CD setup

 Major reorganization:
- Move all documentation to docs/ directory
- Clean up root directory from temporary files
- Add comprehensive project documentation
- Implement Drone CI/CD pipeline

📁 Structure changes:
- docs/SCRIPTS_README.md - Complete scripts guide
- docs/DEPLOYMENT.md - Production deployment guide
- docs/API.md - Comprehensive API documentation
- patch/ - Temporary and test files
- Clean .gitignore with proper exclusions

🚀 CI/CD Pipeline (.drone.yml):
- Code quality checks (flake8, black, bandit)
- Unit and integration testing
- Docker image building and security scanning
- Staging deployment automation
- Production deployment on tags
- Telegram notifications
- Scheduled maintenance tasks

📖 Enhanced README.md:
- Technology stack badges with icons
- Drone CI build status badge
- Comprehensive quick start guide
- Clear project architecture
- Links to all documentation

🔧 Additional improvements:
- MIT License added
- .gitkeep files for important directories
- Improved .gitignore patterns
- Professional project presentation

🎯 Result: Clean, professional project structure ready for production
This commit is contained in:
2025-11-25 07:00:36 +09:00
parent 8f1e0459fc
commit 19d523213b
18 changed files with 1627 additions and 833 deletions

128
.gitignore vendored
View File

@@ -1,8 +1,124 @@
.env
__pycache__
.venv
.history
static/qr_codes
# 🐍 Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# 🧪 Testing
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# 🌐 Django
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
media/
staticfiles/
smartsoltech/staticfiles/
static_root/
# ⚙️ Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.venv/
env/
venv/
ENV/
env.bak/
venv.bak/
# 📝 IDEs
.vscode/
.idea/
*.swp
*.swo
*~
.history/
# 📱 OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# 🐳 Docker
.dockerignore
# 📊 Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# 💾 QR codes (generated dynamically)
static/qr_codes/*.png
smartsoltech/static/qr_codes/*.png
!smartsoltech/static/qr_codes/.gitkeep
# 🗃️ Database
*.sqlite3
*.db
# 📧 Email
sent_emails/
# 🎨 CSS/JS builds
*.css.map
*.js.map
*.pyc
*.pyo
*.pyo
# 🔄 Cache
.cache/
.parcel-cache/
# 🌍 Translation files
*.pot
# 🚫 Exclude test files from root
response_*.json
test_*.html
*_test.sh
endpoint_test.sh
loading_screen_fixed.html
qr_success_animation_demo.html
# 📋 Temporary documentation files that moved to docs/
BACKUP_SETUP_COMPLETE.md
COMMIT_SUMMARY.md
SCRIPTS_README.md