Skip to content

A simple Docker config for Wordpress we use internally at MILL3.

Notifications You must be signed in to change notification settings

Mill3/wordpress-docker-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MILL3 Docker WP boilerplate

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 up

Install commons plugins

At the root of your WP install, run in terminal :

docker-compose run --rm wp-cli mill3wp plugins

Important Note: this wp-cli command won't work until you activate our boilerplate theme!

Plugins serial number

Hop on Mill3 Slack and ask gently for plugins serial number to place in your local .env Docker file

Notes on .gitignore rules

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

docker run --env-file .env --rm -v ./wp-content/themes/${THEME_NAME}:/var/www/html/wp-content/themes/${THEME_NAME} -w /var/www/html/wp-content/themes/mill3-wp-theme-boilerplate composer:latest composer require nesbot/carbon

About

A simple Docker config for Wordpress we use internally at MILL3.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published