Starter project for developing wordpress sites with docker-compose, wp-cli and wordmove.
- docker
- docker-compose
docker-compose up
git submodule add -b master https://github.com/user/theme-reop.git wp-content/themes/theme-name
wp-content folder will be created when first running docker-compose up.
Run the script fix-wordpress-permissions.sh from the host machine if (when) wordpress can't write to wp-content. There is probably a way to have docker use the correct permissions in the first place but ¯\(ツ)/¯
sudo ./fix-wordpress-permissions.sh