Skip to content
prod e051e98
Browse

Phase 2 · Code & repository setup

Get the vendor’s code into git without ever losing track of what you changed. The whole phase exists to create a clean seam between their code and your customizations, so that six months from now a vendor update is a reviewable diff — not an archaeology dig.

Phase 2 — code into git, vendor seam preserved

Phase 2 — code into git, vendor seam preserved 1. Prerequisites (tools + infra + SSH) → 2. Branch strategy (pick A or B) → 3. Extract + snapshot (vendor seam) → 4. Initialize repo (gitignore → init) → 5. .env templates (local/stg/prod) → 6. Commit + push (verify + remote) Prerequisites tools + infra + SSH Branch strategy pick A or B Extract + snapshot vendor seam Initialize repo gitignore → init .env templates local/stg/prod Commit + push verify + remote
The MUST path. Optional enhancements (project structure, SemVer/CHANGELOG) slot in but never block the gate.

CodeCanyon authors frequently patch packages inside vendor/. Treat the shipped tree as sacred until the app is verified running (local development).

The frozen snapshot from this section is what makes Local development safe: you can now run composer install, build assets, and get the app booting locally, always able to diff back to author-vX.X.X.


These seven pages are the navigable pipeline for Code & repository setup — the full task-by-task detail, with every verification step, is distilled into them.