A component-based deploy strategy for WP Engine

Deploying to WP Engine, one component at a time.

In the last months at DriveK, I’ve worked a lot with WP Engine.

WP Engine, for those who don’t know, is a managed WordPress hosting company. They have worked hard on their infrastructure performance and security to give a top-notch service.

If you have a WordPress site, just create an install and forget about all those server related issues. It’s all on their side. You only have to think about your application, your themes, and your plugins.

The flip side of this is that the infrastructure is invisible. There is no concept of VPS, server, physical machine, virtual machine and such. And this means (as of January 2016), no SSH access.

That’s where deployment issues arise.

Continue reading “A component-based deploy strategy for WP Engine”

Git Tip: show modified files between two commits

If you need the list of files that were modified between a commit and the latest one you can use git diff with the --name-only parameter:

git diff --name-only 360c150 HEAD

You can use the same command to show the modified files between two commits. Just replace HEAD with a commit hash:

git diff --name-only <commit1> <commit2>