Skip to content

tmschndr/html5-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Kickstart Html5 Boilerplate in your Rails app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published