public
Fork of fudgestudios/bort
Description: Base Rails app with email login instead of username. Bort: Programmed to feel pain.
Homepage: http://matthall.wordpress.com/2008/09/09/a-bort-fork-rails-base-application/
Clone URL: git://github.com/MattHall/bort.git
Click here to lend your support to: bort and make a donation at www.pledgie.com !
bort /
name age message
file .gitignore Mon Aug 25 02:50:18 -0700 2008 Added databases to ignore file [unknown]
file Capfile Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
file README.textile Mon Aug 25 02:59:59 -0700 2008 Updated readme [MattHall]
file Rakefile Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory app/ Loading commit data...
directory config/ Wed Aug 13 02:09:44 -0700 2008 Added fudge form and fudge scaffold plugins [Jim Neath]
directory db/ Mon Aug 25 02:57:05 -0700 2008 Removed development database [MattHall]
directory doc/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory lib/ Mon Aug 25 02:51:08 -0700 2008 Changed authentication to use email instead of ... [unknown]
directory log/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory public/ Wed Aug 13 01:51:41 -0700 2008 Removed application.css and added a simpler app... [Jim Neath]
directory script/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory spec/ Mon Aug 25 02:51:08 -0700 2008 Changed authentication to use email instead of ... [unknown]
directory stories/ Mon Aug 25 02:51:08 -0700 2008 Changed authentication to use email instead of ... [unknown]
directory test/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory tmp/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory vendor/ Wed Aug 20 06:58:57 -0700 2008 Updated fudge_scaffold [Jim Neath]
README.textile

Bort

Bort is a base Rails 2.1 application that makes creating new projects easier and faster. This fork changes the normal authentication behaviour to use email addresses instead of usernames.

Install

  • Download and unzip Bort
  • Edit the database.yml and the settings.yml files
  • Rake db:migrate
  • Have a brew and celebrate

Plugins Installed

Bort comes with a few commonly used plugins installed and already setup.

RESTful Authentication

RESTful Authentication is already setup. The routes are setup, along with the mailers and observers.
Forgotten password comes setup, so you don’t have to mess around setting it up with every project.

The AASM plugin comes pre-installed. RESTful Authentication is also setup to use user activation.

Will Paginate

We use will_paginate in pretty much every project we use, so Bort comes with it pre-installed.

Rspec & Rspec-rails

You should be testing your code, so Bort comes with Rspec and Rspec-rails already installed so you’re
ready to roll.

Exception Notifier

You don’t want your applications to crash and burn so Exception Notifier is already installed to let
you know when everything goes to shit.

Asset Packager

Packages up your css/javascript so you’re not sending 143 files down to the user at the same time. Reduces
load times and saves you bandwidth.

Routes

The routes for RESful Auth and the forgot password stuff are already sorted for you.

Settings YAML

There is a settings.yml file that contains site-wide stuff. The site name, url and admin email are all used
in the RESTful Auth mailers, so you don’t need to worry about editing them.

Database YAML

The database.yml defaults to sqlite3 but also contains the settings for MySQL in comments so you can switch
over easily.

Capistrano Recipe

Bort comes ready to rock capistrano. The recipe that is setup is based on using git and passenger. Edit as
you see fit.

Uses the Database for Sessions

Bort is setup to use the database to store sessions by default.

Misc

  • password and password_confirmation are set up to be filtered
  • there is a default application layout file
  • a page title helper has been added
  • index.html is already deleted
  • rails.png is already deleted
  • a few changes have been made to the default views
  • a basic css file has been added
  • a basic application.js file has been added with a few useful methods