public
Clone URL: git://github.com/mdaines/boxing-day.git
Search Repo:
name age message
folder README Sat Mar 01 20:19:25 -0800 2008 wrap README [mdaines]
folder Rakefile Sat Mar 01 20:17:32 -0800 2008 Add from swansc [mdaines]
folder lib/ Sun Mar 02 14:35:47 -0800 2008 remove old .svn dirs [mdaines]
folder tasks/ Sun Mar 02 14:35:47 -0800 2008 remove old .svn dirs [mdaines]
folder test/ Sun Mar 02 14:35:47 -0800 2008 remove old .svn dirs [mdaines]
README
BoxingDay
=========

If the public-facing version of your Rails application doesn't have to
involve any scripts and you're the only person using it, BoxingDay can
create a static version of your Rails app, ready for copying to a web
server. A common situation might be a website you maintain yourself on
your computer. It's nice to have Rails' template helpers and a custom
interface for CMSing, but if nobody else is going to see that stuff,
why deploy a whole Rails app?

Just tell BoxingDay what paths to include (I put a file called
boxing_day.rb in the initializers directory) and run
"rake boxing_day:package". For example:

  BoxingDay.paths << "/"
  BoxingDay.paths << "/products"
  Products.find(:all).each { |p| BoxingDay.paths << "/products/#{p.id}" }