Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RailStrap is a HTML5 Ruby On Rails 3.2.x bootstrap
branch: mysqldb

This branch is 2 commits ahead, 118 commits behind hugodias:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

RailStrap

RailStrap is a Front-end / Back-end template using HTML5 Boilerplate, Twitter Bootstrap and Ruby on Rails (3.2.x) with an powerful authentication system for building ruby on rails websites in seconds.

Quick start

Clone the git repo - git clone https://github.com/hugodias/railStrap.git - or download it

Execute rake to create the users database

rake db:migrate

if you are having getting the following error: You have already activated rake 0.9.2.2, but your Gemfile requires rake 0.8.7. Using bundle exec may solve this. try this

bundle exec rake db:migrate

Now start the server in your railStrap folder

rails s

Check at http://localhost:3000

Features

HTML5 Boilerplate

  • HTML5 ready. Use the new elements with confidence.
  • Cross-browser compatible (Chrome, Opera, Safari, Firefox 3.6+, IE6+).
  • Designed with progressive enhancement in mind.
  • CSS normalizations and common bug fixes.
  • IE-specific classes for easier cross-browser control.
  • A default print stylesheet, performance optimized.
  • Mobile browser optimizations.
  • Protection against any stray console.log causing JavaScript errors in IE6/7.
  • The latest jQuery via CDN, with a local fallback.
  • A custom Modernizr build for feature detection.
  • An optimized Google Analytics snippet.
  • Apache server caching, compression, and other configuration defaults for Grade-A performance.
  • Cross-domain Ajax and Flash.
  • "Delete-key friendly." Easy to strip out parts you don't need.
  • Extensive inline and accompanying documentation.

Twitter Bootstrap

  • Built for and by nerds
  • 12-column grid
  • Responsive design
  • Custom jQuery plugins
  • Cross-everything

Ruby on Rails

  • Security Authentication system
  • Users CRUD

Best pratices


Change the cookie secret token at config/initializers/secret_token.rb

# Be sure to restart your server when you modify this file.

# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
RailStrap::Application.config.secret_token = 'YOUR-NEW-TOKEN-HERE'

Thanks pringles for the tip


License

Major components:

Everything else:

The Unlicense (aka: public domain)

Something went wrong with that request. Please try again.