[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment
WordPress Trac
noreply at wordpress.org
Mon Aug 12 01:07:45 UTC 2019
#47767: Simplify and backport the local environment
-------------------------------------+-----------------------
Reporter: pento | Owner: pento
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+-----------------------
Comment (by pento):
Here's a sample `docker-compose.override.yml` to place in your WordPress
checkout, which will load Gutenberg when you start the environment
(assuming your Gutenberg directory is in a sibling directory called
`gutenberg`, of course 🙂).
{{{
version: '3.7'
services:
wordpress-develop:
volumes:
- ../gutenberg:/var/www/${LOCAL_DIR-src}/wp-
content/plugins/gutenberg
php:
volumes:
- ../gutenberg:/var/www/${LOCAL_DIR-src}/wp-
content/plugins/gutenberg
cli:
volumes:
- ../gutenberg:/var/www/${LOCAL_DIR-src}/wp-
content/plugins/gutenberg
phpunit:
volumes:
- ../gutenberg:/wordpress-develop/${LOCAL_DIR-src}/wp-
content/plugins/gutenberg
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list