DEPLOYMENT CHECKLIST ==================== Pre-Deployment: [ ] Backup current database (if any) [ ] Review .env.production settings [ ] Verify requirements.txt is complete [ ] Test database import locally Database Setup: [ ] Create MySQL database in cPanel [ ] Create MySQL user [ ] Grant all privileges to user [ ] Import database_mysql.sql [ ] Verify tables created successfully File Upload: [ ] Upload all files via FTP/cPanel File Manager [ ] Verify passenger_wsgi.py is in root [ ] Rename .env.production to .env [ ] Update .env with actual credentials Python Application Setup: [ ] Create Python App in cPanel [ ] Set Python version (3.11+) [ ] Configure application root path [ ] Set startup file to passenger_wsgi.py [ ] Install requirements.txt Django Configuration: [ ] Run: python manage.py migrate [ ] Run: python manage.py collectstatic --noinput [ ] Create superuser: python manage.py createsuperuser [ ] Restart app: touch passenger_wsgi.py Security: [ ] Verify DEBUG=False [ ] Install SSL certificate [ ] Test HTTPS redirect [ ] Verify ALLOWED_HOSTS is correct [ ] Check SECRET_KEY is secure and unique Testing: [ ] Visit homepage [ ] Test login/logout [ ] Test user registration [ ] Test admin panel [ ] Test contact form [ ] Verify static files loading [ ] Check all major features Post-Deployment: [ ] Setup automated backups [ ] Configure monitoring/alerts [ ] Document any custom configurations [ ] Update DNS if needed [ ] Test email functionality (if configured) Notes: - Keep a copy of .env file secure - Monitor error logs in cPanel - Test thoroughly before going live - Have rollback plan ready