yeswework / fabrica-dev-kit

A toolkit for faster, smoother WordPress 5 development
https://fabri.ca/
MIT License
274 stars 27 forks source link

[Question] Multiple sites in different branches. #31

Closed zomars closed 7 years ago

zomars commented 7 years ago

Can it be done? Or what would be a recommended approach for multiple sites that share the same theme, plugins, except the DB (or content.

andrewstaffell commented 7 years ago

The recommended approach would be to use a single local installation of FDK for development, and then create a Movefile with multiple environments' upload credentials, then using wordmove with the -e flag to specify the environment for each operation. In this way push theme, plugins, etc to several different independent installations.

See https://github.com/welaika/wordmove/wiki/Usage-and-flags-explained