Enfection DevOps Documentation
WordPress agency workflow සඳහා සම්පූර්ණ DevOps guide.
New Project Flow
CLIENT PROJECT COMES IN
│
▼
┌─────────────┐
│ DevOps │ 1. GitHub repo create
│ (First!) │ 2. CloudPanel staging site + SSL
│ ~15 mins │ 3. Permissions fix
└──────┬──────┘ 4. deploy.yml + GitHub secrets
│ 5. Pipeline test
│ Handover (repo URL + WP credentials)
▼
┌─────────────┐
│ Developer │ 1. Git clone + staging branch
│ │ 2. DB import (Migration plugin)
│ Daily work │ 3. Theme activate + develop
└──────┬──────┘ 4. git push origin staging → auto deploy
│
▼
┌──────────────────────────────────┐
│ https://[client].development. │ ✅ Staging updated!
│ enfection.com │
└──────────────────────────────────┘
Quick Reference
Servers
| Server | URL | Purpose |
|---|---|---|
| SonarQube | https://sonarqube.enfection.com | Code quality |
| Staging Panel | https://development.enfection.com:8443 | CloudPanel admin |
| Staging Sites | https://[client].development.enfection.com | Client staging |
| Monitoring | Grafana Cloud | CPU/RAM/Disk metrics |
Guides
For Developers
- Overview - Responsibilities & workflow
- Local Setup - XAMPP / Docker
- Daily Workflow - Git commands
- New Project - First time checklist ⭐
For DevOps
- Overview - Responsibilities
- New Site Setup - Complete guide ⭐
- Server Management - SSH commands
- Troubleshooting - Common fixes