Scaffold for Style Tiles presentation project, built on KL[AS] Flask using Middleman
- Prerequisites: Ruby (Bundler, Rake), Bower
- Clone repository
cd
into repository and runbundle install
- Run
rake init
- Bootstraps your project folder by running
bower install
, and installing bourbon and neat (for scss). - Prompts for the project name, and saves that in
data/project.json
for use by the layout files - Automatically calls
rake new
- Creates a scaffold for a new style tile iteration
- If this is the first time (e.g. when called by
rake init
), this will create index.html.erb and _index.scss files. All other times it will create corresponding incremented version files. - All styletile iteration files are automagically linked and ready to edit
- Edit them in
templates/
- Run
bundle exec middleman
to spawn a live-reloaded web server athttp://localhost:4567
- Run
bundle exec middleman build
to package your site into static files (for deployment) within abuild
directory - Middleman Documentation