Author Kevin Unfricht
Launch Wordpress project in minute with a basic structure. It use WpPackagist for plugins and themes
- Docker
- Docker Compose if not shipped within
- Copy
docker/.env.sampletodocker/.envand configure its variables
Note: If you have
composerinstalled, you will launch scripts by usingcomposercli command. If you don't, you'll needphpinstalled to launch with thecomposer.pharfile withphp composer.pharcommand
- Install plugins dependencies by using
composer require-depsorphp composer.phar require-depscomand - Launch containers by using
composer dockerorphp composer.phar dockercommand
And voilà!
Note:
require-depswill add a few usefull plugins that will fit basic needs. Its personal choices, you can of course install what you'll need/want
Note: There are some few docker commands available inside compose scripts:
dockerup services in daemon mode (in background)docker-nodaemonlaunch servicesdocker-downdown servicesdocker-down-volumesdown services and removes volumes, or just remove volumes if already downedIf for any reason you need to access one of your container, use
docker exec -it container_name /bin/bashcommand