Name: wp-docker-setup
Owner: Liip
Description: Kickstart local development environments for WordPress projects based on docker
Created: 2018-03-16 10:31:28.0
Updated: 2018-03-16 13:39:00.0
Pushed: 2018-03-16 13:38:59.0
Homepage: null
Size: 5
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Kickstart local development environments for WordPress projects based on docker.
Clone this repo
Run git submodule update --init --recursive
Add the following entries to your hosts file (usually /etc/hosts
):
0.0.1 myproject.test
cp env/local/.env_wp-docker.dist .env
Initialize docker containers:
er-compose up -d
Run setup script to setup environment
pts/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:
-rf ~/.wp-docker/myproject