Skip to content

Add .epinio-sync.yaml so app watch can sync this WordPress example. - #11

Open
psanghvi17 wants to merge 1 commit into
mainfrom
feat/EPINIO-711-epinio-sync-yaml
Open

Add .epinio-sync.yaml so app watch can sync this WordPress example.#11
psanghvi17 wants to merge 1 commit into
mainfrom
feat/EPINIO-711-epinio-sync-yaml

Conversation

@psanghvi17

Copy link
Copy Markdown

Summary

  • Add .epinio-sync.yaml so this WordPress example is compatible with epinio app watch (EPINIO-711).
  • PHP is interpreted, so the config uses files mode (files_dest) with inline comments on how watch works. MySQL and BP_PHP_WEB_DIR stay push-time setup in the README; they are not watch settings.

Test plan

  • Push from the repo root with the README env vars and a MySQL service
  • epinio app watch wordpress --path .
  • Change wordpress/index.php, confirm a sync (for example a response header), and see it after refresh

Add .epinio-sync.yaml so Epinio can sync local WordPress source changes into the running pod during app watch. The configuration uses files mode and targets /workspace/source/app, matching the Paketo PHP app layout for live source updates without switching to binary mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant