Skip to content

tjstankus/rails-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

To use these generator templates I recommend adding this function to your bash profile.

function railsapp {
  appname=$1
  template=$2
  shift 2
  rails $appname -m http://github.com/tjstankus/rails-templates/raw/master/$template.rb $@
}

You can then use this “railsapp” command instead of the traditional “rails” one. Simply pass the template name as the second argument:

railsapp blog base_template

That will generate a Rails app using the base_template.rb template found here.

About

Rails app templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages