So I’ve recently started a new position for an agency. At the moment their workflow seems incredibly disorganized and held together by duct tape.
At the moment all sites are hosted on Cloudways and themes are managed with BitBucket. Local dev is done via Local WP, pushed from SourceTree then creating a pull request on Cloudways. The major issues are just the sheer number of steps in order to get setup with a new site. Their documentation to setup a new site looks something like this.
- Duplicate live site using Migrate WP
- Create new site on Local WP from site zip
- Create local clone of sites BitBucket on Source Tree
- Duplicate git files to the Local sites root
- Add Local site to Source tree
- Add theme folder to Prepros
While editing in VSCode Prepros will compile my style edits. I can then push commits from Source Tree and then pull them in on Cloudways.
There’s a few issues with this setup and overall seems like it’s a receipt for disaster. I’m coming from previous agency work where we’re used FlyWheel or WP Engine and our themes were built with Gulp for compiling. Anything that was using Git we simply used SFTP via VSCode and was able to always pull fresh copies anytime we loaded a file.
I understand there’s a lot to take in, but there has to be a better way to dev locally, compile and push commits. This feels like way too many steps.