Introduction #
This document describes the complete production deployment architecture for SmartChart, including the standard Python + uWSGI + Nginx stack. Production deployment requires consideration of performance, security, and stability.
Production Architecture #
User Request → Nginx(80/443) → uWSGI → Django(SmartChart)
↓
Static Files (Nginx direct)
↓
Database (MySQL/PostgreSQL)
Component Description #
| Component | Purpose | Port |
|---|---|---|
| Nginx | Reverse proxy, static file serving, SSL termination | 80/443 |
| uWSGI | WSGI application server | Unix Socket |
| Django | SmartChart application | - |
| MySQL/PostgreSQL | Production database | 3306/5432 |
Professional edition provides enterprise production deployment and offline deployment solutions.