Using Capistrano's disable_web on Site5

Posted by theBlatherskite Mon, 16 Apr 2007 05:16:00 GMT

I’ve been playing around with capistrano lately, and I think I’ve fallen in love. It was merely a convenience until that ill-fated deployment – that moment when, with panicked error messages scrolling across my screen and equally panicked (if less verbose) thoughts filling my head, a decisive cap rollback restored the calm.

Most recently, however, I discovered the cap disable_web and cap enable_web commands. These let you, with one command, push a helpful static ‘maintenance’ page out to the users while you do, well, maintenance. With a little customization, the page can be downright professional (at least, I like to think my implementation of it was).

Read more...

Posted in ,  | Tags , , ,  | 3 comments