Deployment Documentation¶
Deploy the laboratory system to various environments.
📑 Contents¶
Local Development¶
Set up the complete development environment with Docker Compose.
When to use: Development, testing new features
Production Deployment¶
⭐ Main deployment guide - Complete instructions for deploying to a production server.
When to use: Initial production deployment, production updates
Nginx Setup¶
Configure Nginx as a reverse proxy for the application.
When to use: Production deployment, performance optimization
SSL Certificates¶
Set up HTTPS with Let's Encrypt SSL certificates.
When to use: Production deployment, security compliance
VM Testing¶
Test deployment in a local VM before deploying to production servers.
When to use: Testing deployment procedures, training
Server Connection¶
SSH access and server connection instructions.
When to use: Server setup, remote management
🎯 Deployment Paths¶
Path 1: Local Development¶
Path 2: Production Deployment¶
1. Server Connection → Connect to server
2. Production Deployment → Deploy application
3. Nginx Setup → Configure reverse proxy
4. SSL Certificates → Enable HTTPS
5. ../operations/production-checklist.md → Verify deployment
Path 3: Testing Before Production¶
⚡ Quick Start Commands¶
Development¶
Production¶
docker compose -f compose.production.yaml up -d --build
./run manage migrate
./run manage collectstatic --no-input
🚨 Before Deploying to Production¶
✅ Review Production Checklist ✅ Configure Environment Variables ✅ Set up Email ✅ Review Security Audit ✅ Plan Backup Strategy
🔗 Related Documentation¶
- Configuration - System configuration
- Operations - Post-deployment operations
- Setup - Development setup