Repository move to :
KUSANAGI Runs on Docker Ver. PRESSMAN
require git
,wget
,docker
- git clone this.
$ pwd
/home/yosuke
$ git clone https://github.com/pressmaninc/pm-kusanagi-docker.git my_wp_project
- download and extract WordPress.
$ pwd
/home/yosuke
$ cd my_wp_project/kusanagi
$ wget http://ja.wordpress.org/latest-ja.tar.gz
$ tar -xzf latest-ja.tar.gz -C DocumentRoot/ --strip=1
$ rm latest.tar.gz
- download kusanagi plugin.
$ pwd
/home/yosuke/my_wp_project/kusanagi
$ mkdir DocumentRoot/wp-content/mu-plugins
$ cd DocumentRoot/wp-content/mu-plugins/
$ docker run --rm -v $(pwd):/mu-plugins pressmaninc/pm-kusanagi-plugin
- run docker-compose.
$ pwd
/home/yosuke/my_wp_project/kusanagi/DocumentRoot/wp-content/mu-plugins
$ cd /home/yosuke/my_wp_project
$ docker-compose up -d
- access to http://localhost, and setup wp.