Duplicate file .env.sample and name it .env.
Update MASTER_PATH and THEME_NAME variables.
Make sure Docker is installed, then simply run :
docker-compose upAt the root of your WP install, run in terminal :
docker-compose run --rm wp-cli mill3wp pluginsImportant Note: this wp-cli command won't work until you activate our boilerplate theme!
Hop on Mill3 Slack and ask gently for plugins serial number to place in your local .env Docker file
The ignore file is configured for WPEngine's Git-push deployment which ignore everything except the theme directory. Remove or edit this file if this you are not using WPEngine.
Add composer packages to theme vendor, make sure to change the theme directory name maching your project
docker run --rm -v ./wp-content/themes/mill3-wp-theme-boilerplate:/var/www/html/wp-content/themes/mill3-wp-theme-boilerplate -w /var/www/html/wp-content/themes/mill3-wp-theme-boilerplate composer:latest composer require nesbot/carbonFirst edit composer.json, bump 2.2.0 to 2.3.0 for example :
{
"require": {
"timber/timber": "2.2.0",
}
}Then run :
docker run --rm -v ./wp-content/themes/mill3-wp-theme-boilerplate:/var/www/html/wp-content/themes/mill3-wp-theme-boilerplate -w /var/www/html/wp-content/themes/mill3-wp-theme-boilerplate composer:latest composer updatedocker run --rm -v ./wp-content/themes/mill3-wp-theme-boilerplate:/var/www/html/wp-content/themes/mill3-wp-theme-boilerplate -w /var/www/html/wp-content/themes/mill3-wp-theme-boilerplate composer:latest composer install