Skip to content

hugodias/railStrap

Repository files navigation

Build Status

RailStrap v4

Demo

RailStrap is a Front-end / Back-end template using HTML5 Boilerplate, Twitter Bootstrap 3, Ruby on Rails (4.0.0) Devise ( Auth ) and Ruby 2.0.0.

Quick start

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

Go to your railStrap folder and run install

sh install.sh

Then run your server

rails s

Check at http://localhost:3000

You can try loggin in with administrator@railstrap.com / 123123

Features

  • Security Authentication system
  • Remember me
  • Users CRUD

Databases support

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

Todo


  • Include supports for redis and mongodb
  • Create a feature to remind the user password
  • Significantly reduce the amount of files from the repository, to be an extension of application and not the entire application.

License

Major components:

Everything else:

The Unlicense (aka: public domain)