npm
(+ any JS runtime)ruby
>= 1.9 and Bundler
npm install
to installbower
bower install
to install the componentsmake
build the website; the result is in/output/
make watch
will start Guard, which in turn starts an
HTTP server (nanoc view
) and automatically rebuild the pages when a source
file is modified.
/content/
contains the static site/content/algorithms/
contains the algorithms/src/
contains the site-specific JS and LESS files
/_build/
temporary folder for assets building/content/assets/
built assez ready to use by nanoc/output/
site fully built, output of nanoc/_tests/
used during tests
[npm] -> [bower + grunt]
[bower] -> [sources of 3rd-party libs]
[grunt] -> [compile + optimize 3rd-party and site's assets]
[nanoc] -> [compile static pages and output final site]