laktek / extended-bort forked from fudgestudios/bort

This extends rails base app Bort by including annotate-models and make_resourceful plugins + replacing Prototype with jQuery + standard stylesheets

This URL has Read+Write access

Jim Neath (author)
Tue Oct 07 02:27:17 -0700 2008
commit  87072a71d9bfd2cd675c7c92eb2d929fafe53141
tree    9d9ee6aa9d90bc7ec51397351b5e9c9a63491ded
parent  6caa6e577d410e15c3112dc00e01e07130fda1e2 parent  df09fe51cb9c2784b46e968572e103120f08df50
name age message
file .gitignore Thu Sep 11 04:37:09 -0700 2008 Added database and coverage to ignore [MattHall]
file Capfile Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
file README.textile Loading commit data...
file Rakefile Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory app/
directory config/
directory db/ Mon Sep 29 10:22:52 -0700 2008 Merged all migrations into one file to help kee... [Jim Neath]
directory doc/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory lib/ Tue Sep 30 01:51:16 -0700 2008 Added database backup dump script [MattHall]
directory log/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory public/ Fri Sep 12 08:49:18 -0700 2008 Added blank selectors for common rails html ele... [Jim Neath]
directory script/ Tue Sep 16 03:17:12 -0700 2008 Updated to Rails 2.1.1 [Jim Neath]
directory spec/ Tue Oct 07 02:26:58 -0700 2008 Moved AuthenticatedTestHelper and Authenticated... [Jim Neath]
directory stories/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory test/ Tue Sep 16 03:17:12 -0700 2008 Updated to Rails 2.1.1 [Jim Neath]
directory tmp/ Mon Aug 11 03:56:38 -0700 2008 Added current version [Jim Neath]
directory vendor/
README.textile

Bort

Bort is a base Rails 2.1 application that makes creating new projects easier and faster. BO!

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.

User Roles

Bort now comes with Role Requirement by Tim Harper. A default
admin role is predefined along with a default admin user. See the migrations for the admin login details.

Open ID Authentication

Bort, as of 0.3, has Open ID integrated with RESTful Authentication. Rejoice!

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. It’s ready
to go with multistage deployments. It deploys to the production config by default, so if you don’t need it
you can ignore it. Just update config/deploy/production.rb with your deployment settings.

More info on capistrano-ext/multistage deployments can be found here: http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage

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 default css file with blank selectors for common rails elements

Credits

Bort put together by people at Fudge