Rails31-template is a project mainly written in ..., it's free.
This is a template for a new project that uses Rails 3.1, HTML5 Boilerplate, and 960.gs.
This is a template for new Rails projects. It incorporates files from these projects to provide a solid basis for a new site.
Using this is as easy as 1-2-3.
First: Create a new Rails project, using the rails31-slab.rb
file as a
template:
$ rails new PROJECT -m https://github.com/scholarslab/rails31-template/raw/master/rails31-slab.rb
Answer the questions. It will ask whether you want to install devise, and if so, what you want to name the model for users. If you do want to use devise, look through the messages for some post-install instructions.
Second: cd
into the project directory and build something!
The main HTML file is incorporated into
app/views/layouts/application.html.erb
.
The stylesheets from HTML5 Boilerplate and 960.gs are all in
vendor/assets/stylesheets
.
I opted not to use the jQuery provided with HTML5 Boilerplate, so Rails takes care of that.
The other JavaScript bundled with HTML5 Boilerplate is in
vendor/assets/javascripts
.
This adds a few gems to a few environments.