Bootup

Provides a rails generator to install a few useful gems & set up authentication along with scaffolding.

Installation

Add this line to your application's Gemfile:

gem 'bootup'

And then execute:

$ bundle

For the latest release,

gem 'bootup', git: "git://github.com/recklessrahul/bootup.git"

$ bundle

Usage

Run

$ rails g bootup

or

$ rails g bootup -f

CAUTION: The '-f' will overwrite & replace files without prompting you. As a rule, use this generator on a brand new application only.

If you wish to explicitly supply a database name, use

$ rails g bootup *APP_NAME*

Note: If APP_NAME is not supplied, the root folder name would be used as APP_NAME.

What does the generator install?

The following gems would be installed:

  1. rails
  2. Jquery

Database Stuff:

  1. Postgres
  2. MongoDB
  3. SQLite

Assets (Outside asset group for heroku integration):

  1. Twitter Bootstrap (Generator would be run automatically)
  2. Jquery Datatables (Automatically included in application.js & initialized to #datatables)

View Stuff

  1. Simple Form (Generator would be run automatically)

Authentication:

  1. Sorcery

Server:

  1. Thin

Group Assets:

  1. Less
  2. Sass
  3. CoffeeScript
  4. Uglifier
  5. Therubyracer

Group Test:

  1. Spork (Pre-configured with my personal preferences for pre-fork & each_run blocks)
  2. Faker
  3. Capybara
  4. Launchy
  5. Factory Girl
  6. Database Cleaner

Group Development & Test:

  1. Rspec (Generator would be run automatically. Spec file replaced)
  2. Guard (Initialized. Guard watches views & runs request specs)
  3. Inotify
  4. Libnotify (for Linux)
  5. Fsvent (for Mac)
  6. Growl (for Mac)
  7. Annotate

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request