vigetlabs / wordpress-site-starter

2 stars 0 forks source link

[#104] Check if we are in dev mode on post install script #110

Closed nathan-schmidt-viget closed 1 week ago

nathan-schmidt-viget commented 2 weeks ago

Summary

Ran into this when Nevin was setting up the deploy script. When Github trys to deploy to a server like WP Engine it tries to set up DDEV for local development of which it fails and then the whole deploy script fails. Nevin created a fix for IAFFF. So bringing that fix over to the starter so we don't run into it again.

Issues

Testing Instructions

  1. Not really a way to test this, but the deployment now works on IAFFF.
bd-viget commented 1 week ago

This is probably fine, I just need to see if I can figure out what isDevMode() does to have a better understanding of what's going on here.