Example project for the Living Style Guide Gem.
Ruby 1.9.x must be installed.
git clone XYZ
cd XYZ
gem install bundler
cd XYZ
bundle # Unter Mac OS: bundle --without linux
middleman
Now you can open the style guide at http://localhost:4567/.
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
.
Designed and developed by: Nico Hagenburger hagenburger.net @hagenburger