Coder Social home page Coder Social logo

h5bp-rails's Introduction

About

A fully Rails 3.1+ compliant application template used to setup a new Rails app using Paul Irish's HTML5 Boilerplate (http://html5boilerplate.com/)
This template can be considered an upgrade of the Rails 3.0.x application template found here: https://github.com/russfrisch/Rails-HTML5-Boilerplate-Template

How to Use

Run directly from github:
rails new <appname> -m https://github.com/russfrisch/h5bp-rails/raw/master/h5bp.rb

Can also be applied to an existing project, but will need some integration by hand:
rake rails:template LOCATION=https://github.com/russfrisch/h5bp-rails/raw/master/h5bp_apply.rb

What This Template Does

  1. Downloads HTML5 Boilerplate index.html and merges it with the default application.html.erb Rails generates.
  2. Downloads HTML5 Boilerplate style.css and merges it with the default application.css Rails generates.
  3. Downloads a version of the HTML5 Boilerplate plugins.js converted to CoffeeScript
  4. Downloads HTML5 Boilerplate misc. assets: icons, .htaccess, etc.
  5. Updates Gemfile to include Modernizr-Rails which provides the Modernizr.js dependency HTML5 Boilerplate uses.

Push Requests

If there is anything that can be done better or you would like to see tweaked, please send me a push request.

h5bp-rails's People

Contributors

russfrisch avatar gutenye avatar

Stargazers

Pankaj Tyagi avatar

Watchers

Pankaj Tyagi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.