The microDrum website is built using Jekyll, using Node.js
and Grunt to compile all static assets including the
Bootstrap library the site is built on along with the
Font Awesome icon set using LESS stylesheets. Most of the content
on the website is written using Markdown, making it extremely easy
to write and maintain.
Run grunt
to compile all assets, and run jekyll
to
start up the built-in webserver that will automatically re-generate all pages
any time it's corresponding file is changed here.
$ npm install --no-bin-links
$ grunt
$ jekyll serve --watch
Note that you only need to run npm install
once per new checkout. Now you can
edit content at verify your changes by pulling up the website running
(after restarting Jekyll): http://localhost:4000/
If you only want to modify some page contents and are not going to touch any
CSS or JavaScript code, you can avoid installing Grunt as it is only
really needed to produce the minified CSS and JavaScript files which can be
retrieved from the main site:
$ curl https://microdrum.github.io/assets/css/style.min.css > assets/css/style.min.css
$ curl https://microdrum.github.io/assets/js/scripts.min.js > assets/js/scripts.min.js
Then you only have to install Jekyll and run it in order to preview your
changes locally before pushing them out.