Best workflow for Git theme development with plugins

Question

I know this has been asked before, but most answers are old and don’t directly apply here.

I’m working on a theme from scratch for my personal website and I’m trying to setup up a local development environment. Version control on the theme is done on Github and I can deploy the theme from the repo to production.

My main issue now are plugins: I’m using a couple of plugins that I installed from WP admin. What would be the best way to manage these, so I don’t have to install them manually on both environments? I’ve read someone suggestion adding the plugins to the repo as well, updating them locally when needed and them deploying to production. However, if I were to add a new plugin, it would have to be activated manually in production as well (same for changing plugin options, etc.).

I’ve seen some recommendations for Composer, but I can’t use it on my server.

Thanks in advance!

0
Dinis Correia 2 weeks 2022-11-15T09:30:39-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse