Skip to content

Developer Guide - Overview

Developer ට කරන්නේ code push කිරීම පමණයි. Everything else automated.


Developer Responsibilities

Task Who Automated?
Theme develop කිරීම Developer No
Git push කිරීම Developer No
Code quality scan GitHub Actions ✅ Yes
Staging deploy GitHub Actions ✅ Yes
Production deploy DevOps approve ✅ Yes
DB/Plugins setup Developer (one-time) No

Workflow Overview

Developer
    │  git push origin staging
GitHub Actions
    ├─ SonarQube PHP scan
    │      │
    │   FAIL? → Email notification → Fix code
    │   PASS? ↓
    └─ Auto deploy → staging site
                     QA test pass?
                     Merge to main
                     Production deploy

First Time Setup

New project ලැබුණාම developer කරන දේ:

  1. Local Setup - Docker environment
  2. Git clone + branch setup
  3. All-in-One Migration plugin import (DB + plugins)
  4. Theme develop start

Remember

  • staging branch = staging site auto update
  • main branch = production deploy (DevOps approve)
  • DB/uploads = Migration plugin use කරන්න (Git නෙවෙයි)