Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 940 Bytes

README.md

File metadata and controls

50 lines (28 loc) · 940 Bytes

Single Malt

A theme based on _S for a Gulp workflow. Includes Bourbon and Neat.

Installation

  1. Install Node.JS and Gulp.

  2. Install the Theme as normal.

  3. Navigate to the app folder and run:

$ npm install
  1. On line 17 of gulpfile.js change the proxy location to the root of your site.

  2. You can now run

gulp

from terminal.

Dev Mode

At the top of functions.php you will see

if (! defined('DEV_MODE')) {
  define( 'DEV_MODE', true );
}

This enables DEV mode, when enabled your scripts and styles will be enqueued normally. When you are ready to deploy, set this to "false" and then run

gulp build

Now, only the merged and minified files will be enqueued.

##Build something awesome, then go to pub with your mates for a pint and whisky chaser. :)