Web boilerplate for frontend workflow based on node, grunt and bower.
includes:
- local development
- local http server
- deployment
- via gh-pages
- live preview
- livereload
- modularity
- html templating via handlebars
- SASS partials
- notifications
- install node.js
use npm <package> -g
to install packages globally
-
install grunt via
npm install grunt-cli
-
install bower via
npm install bower
-
install project depencendies via
npm install
andbower install
frontend dependencies / extras:
-
sass compiling
- sourcemap (requires sass 3.3 via
gem install sass --pre
)
sass --watch --sourcemap scss:css
- sourcemap (requires sass 3.3 via
run grunt
for inital setup and grunt dev
for run the http server and you're ready to go!
(or execute watch.sh
and serve.sh
after initial grunt
)