Bootstrap a Rails 2.3 app with user authentication (Authlogic, Clearance, restful_authentication)
Ruby JavaScript
Failed to load latest commit information.
app remove tracker partial file, not being used Jan 27, 2010
config change the way the branch is set for deploys Apr 2, 2010
db fix the erroring password change. move admin user to seed-fu Aug 19, 2009
features remove email_spec Feb 24, 2010
lib add more features Jan 28, 2010
public fix password_confirmation stragglers. fix stray variable in sass Jan 26, 2010
spec
.gitignore setup tests for the generated apps Feb 20, 2009
LICENSE add the MIT license May 12, 2009
README.textile remove expose_model from readme, not using it anymore Jan 25, 2010
Rakefile add cucumber and a simple starter feature Jan 21, 2010
base.rb change the way the branch is set for deploys Apr 2, 2010
gitignore add cucumber and a simple starter feature Jan 21, 2010

README.textile

Strappy

Bootstrap a Rails 2.3 app with a template

Notes for anybody using older versions of Strappy

Branch shuffling.

master => choosy golden => master authlogic is untouched restful_authentication is untouched

What are these branches?

  • master is what we use ourselves, the explanation of what it has is this doc
  • choosy is a template that allows you to choose your auth method from Authlogic, Clearance, restful_authentication or none
  • authlogic generates an app with authlogic code
  • restful_authentication generates an app with restful_authentication code

Keep in mind that once we decided on this setup the others have not been maintained.

What does this thing have in it

  • Haml views
  • Sass stylesheets
  • jQuery 1.4
  • jQueryUI 1.7
  • Blackbird for UI debugging
  • CC.rb rake task
  • Capistrano with Staging and Production environments
  • A default ‘home’ controller in place of index.html
  • A strappy rake task to install commonly used plugins, lifted from Bort and modified

Admittedly this thing kind of steps out side of the box in what I believe they intended application templates to do by bringing in controllers and specs.

Gems

Installed plugins

Plugins available through rake strappy:install

Haml rake task

You can use rake haml:from:format to convert templates to Haml, where format would generally be erb or rhtml

Usage

rails -m http://github.com/pixels-and-bits/strappy/raw/master/base.rb app_name