8000 GitHub - christophercotton/rails-templates: My Rails App Templates · GitHub
[go: up one dir, main page]

Skip to content

christophercotton/rails-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christopher Warren’s Rails Templates
Twitter: @cdwarren
http://rubberbandwound.com

Rails 2.3 Templates

  • Creates a Git repository on Dreamhost
  • Sets up Capistrano to use the Git repository
  • Creates a public controller
  • Removes standard files like public.html, robots.txt, and favicon.ico
  • Rakes db:create
  • Installs plugins
    • exception_notifier
    • paperclip
    • asset_packager
    • lazy_developer
    • annotate_models
    • factory_girl
    • authlogic
  • Gems
    • will_paginate
    • redcloth
    • shoulda

Instructions

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

Or add the following to your ~/.bash_profile

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

and run

  railsapp my_app

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

  railsapp my_app github

About

My Rails App Templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

0