Getting Started
The WordPress Foundation 6 Developer Framework is meant to be a starting point for developers to create projects without having third party code/modules within their git repo. This project uses Composer to install WordPress and default plugins as project dependencies. The base theme uses NPM to install script dependencies, and Gulp as the build system. Gulp also uses Babel and Webpack to transpile ES6/ES2015 to ES5 so that you can use the latest ECMAScript syntax.
TL;DR
Starting up:
git clone https://github.com/Blake-C/wp-foundation-six.git your-project-name
cd your-project-name
docker-compose up -d
docker container list -a
- get the id (############) of the general-cli container
docker exec -it ############ zsh
composer install
composer update
cd wp-content/themes/wp-foundation-six/
npm install
gulp
- site will load under http://localhost
- database under http://localhost:8000
- server: mysql
- user: root
- password: root
- database under http://localhost:8000
When done:
exit
docker-compose down