MVP
At a minimum:
- setup MySQL server (MariaDB preferably)
- setup a web server (Apache), running latest WordPress files
- make Web and DB server connect with each other appropriately
- mount the db locally, so it persists
- mount the WordPress install locally, so it persists
- mount the wp-plugin-creativecommons plugin directory into the web server at wp-content/plugins/, so it can be user activated
- include appropriate .gitignore additions so local mount points are not tracked ( ./dev/db & ./dev/wordpress)
update documentation to reflect new docker compose one-liner referencing docker-compose.yml file
The baseline Docker Image would benefit from having Composer bundled in via the official Composer docker image, so that at a minimum the official WordPress Coding Standards rules for phpcs can be installed easily and configured for dev use. At current, the baseline image leaves this up to the individual dev to install and configure, bundling it here makes setup smoother.
Description
Once #199 is implemented, then as an expansion, Composer could be added in the docker-compose.yml file to allow more well defined testing. Then, the official WordPress Coding Standards rules for phpcs can be installed.
This would then allow proper WordPress coding standards to be applied, and tested.
MVP
[ ] setup composer image in docker-compose.yml file
Problem
See #199, this builds from there.
The baseline Docker Image would benefit from having Composer bundled in via the official Composer docker image, so that at a minimum the official WordPress Coding Standards rules for
phpcs
can be installed easily and configured for dev use. At current, the baseline image leaves this up to the individual dev to install and configure, bundling it here makes setup smoother.Description
Once #199 is implemented, then as an expansion, Composer could be added in the
docker-compose.yml
file to allow more well defined testing. Then, the official WordPress Coding Standards rules forphpcs
can be installed.This would then allow proper WordPress coding standards to be applied, and tested.
MVP
composer
image indocker-compose.yml
fileweb server
phpcs
for WordPress Coding Standards viacomposer
(https://github.com/WordPress/WordPress-Coding-Standards)composer
in this contextphpcs
in this contextAlternatives
There are currently no known official alternatives to the WordPress Coding Standards rules for phpcs that I am aware of.
Additional context
Implementation