chriswarren / umn-rails-templates
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Christopher Warren (author)
Fri Mar 27 10:06:27 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.textile | ||
| |
base.rb | ||
| |
capistrano.rb | ||
| |
css/ | ||
| |
database.rb | ||
| |
git.rb | ||
| |
html.rb | ||
| |
html/ | ||
| |
images/ | ||
| |
js/ | ||
| |
lib/ | ||
| |
x500.rb |
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

