- This HTML5 application, built with Brunch.
- Node.js (On mac, you can install via homebrew:
brew install node
) - Brunch: Install brunch globally
npm install -g brunch
orsudo npm install -g brunch
- Once Node.js and Brunch are installed,
- Clone this git repo
https://github.com/kgcreative/brunch-with-cocktails.git
- Run
npm install
to install app dependencies and brunch plugins
- If you need to add plugins or modules to this instance of brunch, you can do so via
npm install --save module
- Plugin and module configurations are added to brunch-config.js
npm start
- Runs thebrunch watch --server --port 3333
command to watch the project with continuous rebuild. This will also launch HTTP server with pushState at localhost:3333.brunch build --production
builds the minified project for production
public/
dir is fully auto-generated and served by HTTP server. Write your code insrc/
dir.- Place static files you want to be copied from
src/assets/
topublic/
. - Handlebars Static site templating structure is written in
layouts
,partials
, andpages
. - Brunch, Getting started guide
- SASS, using the scss syntax and the 7-1 architecture pattern and sticking to Sass Guidelines writing conventions.
- Bourbon and Neat were installed via NPM (not ruby)
- The Bitters scaffold was imported via ruby and customized to fit the 7-1 architecture pattern.
- html-brunch-static enables handlebars precompiled templates.
- postcss autoprefixer uses can-i-use to vendor prefix current CSS spec for backward compatibility.