chriswarren / umn-rails-templates

ASR UMN Rails Templates

This URL has Read+Write access

README.textile

UMN ASR Rails Templates

Rails 2.3 Templates for ASR at University of Minnesota

Sets up:

  • Git
  • UmnAuth
  • Capistrano
  • Layout
  • Plugins
    • exception_notifier
    • paperclip
    • asset_packager
    • lazy_developer
    • annotate_models
    • factory_girl
  • Gems
    • will_paginate
    • redcloth
    • shoulda

Instructions

  rails my_app -m http://github.com/chriswarren/umn-rails-templates/raw/master/base.rb

Or add the following to your ~/.bash_profile

  function railsapp {
    appname=$1
  	case $2 of
  		"local")
  			template="/Users/warre213/Workspace/rails-templates/base.rb";;
  		"github")
  			template="http://github.com/chriswarren/rails-templates/raw/master/base.rb";;
  		"github-umn")
  			template="http://github.com/chriswarren/umn-rails-templates/raw/master/base.rb";;
  		*)
  			template="http://github.com/chriswarren/umn-rails-templates/raw/master/base.rb";;
  	esac
    shift 2
    rails $appname -m $template $@
  }

and run

  railsapp my_app

Optionally, you can pass “local”, “github”, or “github-umn” to specify the template to run

  railsapp my_app github