A production-ready, interactive deployment automation system for Django projects with TUI (Terminal User Interface). This system provides enterprise-grade deployment, monitoring, and management capabilities.
- Interactive TUI Wizard using Whiptail
- Multi-environment support (Production/Staging/Development)
- Automated PostgreSQL database setup
- Gunicorn/uWSGI/Daphne application server configuration
- Nginx reverse proxy with security headers
- Let's Encrypt SSL certificate automation
- Celery + Redis for background tasks
- Supervisor process management
- Zero-downtime deployments
- Automatic backups and rollback capability
- Health checks and monitoring
- Log rotation and management
- Security hardening (firewall, permissions, headers)
- Rate limiting and DDoS protection
- Database connection pooling
- Real-time monitoring dashboard
- Performance metrics collection
- Log aggregation and analysis
- Alerting system for critical events
- Resource utilization tracking
- Ubuntu 20.04 LTS or later / Debian 11 or later
- 2GB RAM minimum, 4GB recommended
- 20GB disk space minimum
- Python 3.8 or higher
- PostgreSQL 13 or higher
- Redis 6 or higher
# Essential packages
sudo apt-get update
sudo apt-get install -y \
python3-pip \
python3-venv \
git \
nginx \
postgresql \
postgresql-contrib \
redis-server \
supervisor \
certbot \
python3-certbot-nginx \
whiptail \
curl \
wget \
htop \
net-tools