Skip to content
achacon.dev
All work

2026

Multi-environment CMS architecture

Environment tooling for a WooCommerce storefront, so changes get tested before customers ever see them.

Role
Sole engineer: architecture and tooling
Stack
WordPressWooCommercePHPMySQLBash
  1. Store: 01ProductionLive storefront taking orders
  2. Process: 02Sync scriptsFiles and database pulled down
  3. Store: 03Local copyProduction-like, reproducible
  4. Process: 04Dev-mode toggleEnvironment behaviour switched
  5. Output: 05Verified changeShips only once it holds up
You prove a change on a copy before it touches a live storefront.

The problem

A production storefront with no safe place to make changes. Every edit happened live, so every experiment put a site taking orders at risk.

What I built

  • Scripts sync files and database between environments, which makes a production-like copy something you reproduce rather than hand-assemble.
  • A dev-mode toggle switches environment behaviour without editing configuration by hand.
  • A documented layout and workflow that survives being handed to someone else.