
If the client is hosted at WPEngine, then we can use git to push code changes to staging and production environments ( more information). Create a new profile, same settings but for “Pull”.

On local environment, go to Tools > Migrate DB Pro, select “push”, paste in the connection info, check “Media Files”, and save profile (I name it “WPE Push”).Make sure WP Migrate DB Pro is installed in both environments and configured to allow push and pull.
#CODEKIT PROJECT VS FRAMEWORK INSTALL#
Create a transferrable install on WPEngine (ex: ).Create a local WP environment (ex: clientname.local ).Since the cli command only accepts profile IDs, I need to make sure I create the profiles in the right order. Pushes database & media using WP Migrate DB Pro ( wp migratedb profile 1).Pushes code to correct WPEngine remote branch (production or staging), as defined by BE_PUSH_TO in wp-config.php.I use a bash script to trigger push/pulls. I use WP Migrate DB Pro to push/pull database and media. For more information, see my post Git Push with WPEngine. I use WPEngine as my development environment. I’ve also been learning webpack and babel in my Gutenberg block development. I have been learning to use gulp through my Shared Counts plugin – a collaboration with Jared Atchison. But as a solo developer it works great for me. For projects where you are collaborating with other developers, keeping environments and build processes in sync is more important, and CodeKit might not be a good fit.

I like to use CodeKit for SASS compiling, JS concatenation and minification, and live refreshing.

I use a Core Functionality plugin on all projects, and have a simple mu-plugin on my local install for quick links in the admin bar. I’d say about half my projects are Genesis-based, and the other half are custom WordPress themes. EA Starter uses hooks from Theme Hook Alliance to make it more Genesis-like. I have two starter themes: EA Starter, a heavily-modified, underscores-based theme and EA Genesis Child, a Genesis child theme. We discuss all things code, from templates and automation to my perspective on time management.
