humanmade / hm-base

Standard project layout for Human Made Projects.
81 stars 18 forks source link

Allow file mods for dev #22

Closed mattheu closed 8 years ago

mattheu commented 8 years ago

Typical workflow:

Install/update plugins locally and commit to git. Test locally, deploy live.

However you can't do this because we're preventing file mods. This is great because users can't try and add plugins themselves. But bad for us because neither can we.

Solution is to enable/disable this locally for us if HM_DEV is true. This way we can see any updates and install new plugins with ease, yet users still can't do it.

mattheu commented 8 years ago

Review & Merge

danielbachhuber commented 8 years ago

But bad for us because neither can we.

Why not just use WP-CLI to install plugins?

roborourke commented 8 years ago

There's no harm adding this but the biggest advantage is that the available updates will at least be made visible on the local environment, helps as a prompt to remember to run wp plugin update --all.