Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 988 Bytes

File metadata and controls

35 lines (20 loc) · 988 Bytes

Created with help from:

Setup for a Wordpress Theme based on Underscores

First You will need to install the following dependencies...

Wordpress CLI

  • curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
  • chmod +x wp-cli.phar
  • sudo mv wp-cli.phar /usr/local/bin/wp

Underscores

  • npm install -g https://github.com/thisiscapra/node-underscores

Node/NPM (If not installed)

  • npm install npm@latest -g
  • curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash

Run the install script

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)

Generate assets

To generate your assets using Grunt, cd to your theme folder and run...

  • grunt