Skip to content

Latest commit

 

History

History
 
 

middleman-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Living Style Guide

Example project for the Living Style Guide Gem.

Setup

Ruby 1.9.x must be installed.

git clone XYZ
cd XYZ
gem install bundler

Development

cd XYZ
bundle # Unter Mac OS: bundle --without linux
middleman

Now you can open the style guide at http://localhost:4567/.

Production

cd XYZ
bundle # for Mac OS: bundle --without linux
middleman build

Now all stylesheets are available at XYZ/build:

  • rendered as CSS
  • compressed
  • with hashed file names (also for images/fonts/…)

You’ll find all CSS file names with hashes at XYZ/build/css-files.json.

Credits

Designed and developed by: Nico Hagenburger hagenburger.net @hagenburger