WordPress generator that creates database and installs WordPress. Make sure you have wp-cli
for the installation. This generator is opinionated workflow in for fast theme or plugins prototype.
- Make sure you have yo & gulp installed:
npm install -g yo gulp
alsowp-cli
- Install the generator:
npm install -g generator-wp
- Run:
yo wp
- Also a
gulp
command look intogulpfile
for more info
- WordPress in a sub-folder
- themes & plugins folder in a content directory
- Sets up gulp with
browser-sync
for the theme - Creates a database
CREATE DATABASE %name%
- Installs Wordpress