Kickstart Html5 Boilerplate in your Rails app.
Pull request Compare This branch is 47 commits behind sporkd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
lib
test
vendor/assets/javascripts
.gitignore
Gemfile
LICENSE
README.md
Rakefile
html5-rails.gemspec

README.md

Html5 for Rails

Sensible Html5 defaults for Rails projects based on Html5 Boilerplate by Paul Irish, Divya Manian and many other fine folks.

(A rewrite of compass-html5-boilerplate that decouples the compass CSS library and adds Rails asset pipeline integration).

Installation

We're a bit light on documentation right now, but this should get you going...

In your Gemfile

group :assets do
  gem 'sass-rails'
  gem 'coffee-rails'
  gem 'uglifier'
  gem 'compass', '0.12.alpha.2'
  gem 'compass-h5bp'
end

gem 'jquery-rails'
gem 'haml-rails'
gem 'html5-rails', :git => 'git://github.com/sporkd/html5-rails.git'

Install

$ bundle install

Run generator

$ rails generate html5:install

Notes

[1] The install generator will remove your application.html.erb layout and replace with application.html.haml. An erb option is in the works.

[2] I'm still organizing stuff to be as flexible as possible, so some paths might change. Just make sure you re-run generators when upgrading.

License

Copyright (c) 2010-2011 Peter Gumeson. See LICENSE for full license.