Installs WordPress and a blank theme set up for writing SCSS and ES6. Includes WP Migrate DB Pro and recent versions of all its addons. The core wpmdbpro plugin is modified so that push/pull works without a license.
$ cd wp-boilerplate
$ bash init.sh
cd
to theme directory and do$ npm install
or$ yarn
- Start the watch command
$ npm run dev
or$ yarn dev
- When init.sh prompts for dbuser, enter an existing MySQL user with privileges to create and change databases.
- If you are using MAMP, the default dbhost is
127.0.0.1:3306
. I entersite-name-here.localhost
for url and add aVirtualHost
to MAMP's httpd-vhosts.conf file to point that subdomain to the site directory.