Closed raaaahman closed 1 year ago
Docker would be a better solution IMO
wp-env seems to be a solution for this problem https://make.wordpress.org/core/2020/03/03/wp-env-simple-local-environments-for-wordpress/
I'm going to test wp-env this week, will report back my findings before the next office hours.
Sadly I did not get to this as planned, will schedule it for the coming week.
later we added wp-env. close because outdated
Because the project will be developed on several contributors' computers, we should create a shareable environment in order to prevent the "works on my machine" syndrome.
This means either sharing a virtual machine or a set of containers.
Two projects have been set up to facilitate this work in a WordPress environment, Varying Vagrant Vagrants (virtualization) and Lando (WordPress recipe).
Also, we may set up a Docker-Composer environment based on WordPress-Develop environment.
Going further, using either of this solutions will provide us the ability to quickly switch environments (PHP version, Apache or NGINX, Linux distribution, etc.) to make sure the project can run on the variety of server configuration that powers the web.