liip/wp-docker-setup

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

wp-docker-setup

Kickstart local development environments for WordPress projects based on docker.

Requirements
Installation
  1. Clone this repo

  2. Run git submodule update --init --recursive

  3. Add the following entries to your hosts file (usually /etc/hosts):

    0.0.1 myproject.test
    
  4. cp env/local/.env_wp-docker.dist .env

  5. Initialize docker containers:

    er-compose up -d
    
  6. Run setup script to setup environment

    pts/setup.sh
    

Known problems

Booting of MySQL container fails

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.