Created with help from:
- [https://github.com/simonpioli/auto-wordpress]
- [https://webdesigner-webdeveloper.com/weblog/automate-the-wordpress-install/]
First You will need to install the following dependencies...
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.pharchmod +x wp-cli.pharsudo mv wp-cli.phar /usr/local/bin/wp
npm install -g https://github.com/thisiscapra/node-underscores
npm install npm@latest -gcurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
This will setup Wordpress, with a DB, Grunt, and a selection of plugins
bash <(curl -s https://raw.githubusercontent.com/thisiscapra/auto-wordpress/master/auto-wordpress.sh)
To generate your assets using Grunt, cd to your theme folder and run...
grunt