WordPress Environment for PHP Built-in Server.
PHP and cURL are pre-installed.
$ brew install composer wp-cli mariadb jq
$ composer create-project torounit/composer-wp-dev-kit path/to/project
$ cd path/to/project
$ composer create-env
$ vi .env.json
$ mysql.server start
$ composer provision
./bin/provision.sh
create database and install WordPress if is not installed.
$ composer server
Create and Edit config.php.
$ composer create-production-config
$ vi config.php
.
Document root../wp
WordPress core files../wp-content
Custom wp-content../wp-content/mu-plugins/vendor
for composer library..env.json
setting your environment.
composer provision
Provisioning WordPress.composer server
Startwp server
and open browser.composer import-theme-unit-test
Import theme unit test data.composer create-env
create .env.jsoncomposer create-production-config
create config.php