rokka-wordpress-plugin dev environment based on docker for rokka.io
-
Clone this repo
-
Run
git submodule update --init --recursive
-
Add the following entries to your hosts file (usually
/etc/hosts
):127.0.0.1 rokka.test
-
cp env/local/.env_wp-docker.dist .env
-
Initialize docker containers:
docker-compose up -d
-
Run setup script to setup environment
scripts/setup.sh
When the following command fails docker-compose up mysql
after a complete reset of your docker containers (remove all docker images & rebuild them) you maybe need to delete the mysql data in your home directory:
$ rm -rf ./.data