Note for external contributors: this is meant for internal use only at this stage.
This package contains:
- Bedrock configuration (Wordpress)
- Custom plugin
- Extra REST API fields
- Custom Gutenberg blocks
- Minimal custom theme
The Wordpress serveur environment (MySQL, NGINX, PHP-FPM) is created and run by the main Docker Compose setup described in the top level README.
Both Wordpress and Wordpress plugins are upgraded through Composer.
The Wordpress installation has been scaffolded from the Bedrock boilerplate.
Bedrock's upgrade process is manual, and requires selective copy / paste operations from the latest release files.
Below is the (current) list of Bedrock files grouped by the type of action to be carried out on those files.
-
Override
- /config/environments
- /web/app/mu-plugins
- /web/index.php
- /web/wp-config.php
- /phpcs.xml
- /wp-cli.yml
-
Ignore
- /CHANGELOG.md
- /README.md
- /web/app/plugins (should be empty)
- /web/app/themes (should be empty)
- /web/app/uploads (should be empty)
- /composer.lock
-
Selectively update
- /composer.json (keep versions pinned)
- /config/application.php
- /LICENSE.md (change unlikely)
-
Commit to composer.lock (run from root)
$ docker compose exec fpm composer update
- Run
docker compose exec fpm composer outdated --direct
to find the latest versions of direct dependencies - Update composer.json with the new pinned version
- Run
docker compose exec fpm composer update