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.sample
todocker/.env
and configure its variables
Note: If you have
composer
installed, you will launch scripts by usingcomposer
cli command. If you don't, you'll needphp
installed to launch with thecomposer.phar
file withphp composer.phar
command
- Install plugins dependencies by using
composer require-deps
orphp composer.phar require-deps
comand - Launch containers by using
composer docker
orphp composer.phar docker
command
And voilà!
Note:
require-deps
will 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:
docker
up services in daemon mode (in background)docker-nodaemon
launch servicesdocker-down
down servicesdocker-down-volumes
down 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/bash
command