plugin-development-docker
plugin-development-docker copied to clipboard
A docker configuration for WordPress plugin development
It would be nice to have the Composer and Yarn come with the build itself. I know that it's not something that everyone would want but I typically try to...
The env does not seem to get correctly installed when using the `wordpress:5.8.3-php8.1-apache` image. This will need fixing if we want to develop on / for PHP 8.1. This only...
While executing tests on my plugins I need to constantly reset the database to clean up tables and test functionalities. - [ ] The command should reset the database as...
I have not been able to get Xdebug [development aids](https://xdebug.org/docs/develop) to work in our docker environment. I tried different PHP configurations but a `var_dump()` does never change to a xdebug...
Started up my Woocommerce setup after a month in hibernation and ran into http 500 when trying to browse the site - getting error logs of wp() being undefined. Tried...
Until now I only ran the default `./start.sh` on this laptop. Today I ran `./start.sh woocommerce-wordpress` and while installing it showed a lot of output. For example: ``` [22-Oct-2020 11:27:42...
With 10.000 files in my wp-content/plugins directory, Docker slowed down to a crawl. Removing these (empty, non extension) files sped up the site significantly. My guess is that the node_modules...
chown in start.sh was changed from `/var/www/` to `/var/www/.wp-cli` to speed up the starting process. But this has impications for Linux systems which can get into file permission issues this...
There are some cases we should check before running start.sh. - [ ] Are there any Docker plugin containers already running? - [ ] Are all config files in place?
If the containers are newly created and installed (after a clean and make), there is a chance that a few things have failed to run. WordPress is sometimes not correctly...