Live data from Hacker News

Dead Simple Rails Deployment

blog.jerodsanto.net

11–14 of 14 posts

Re: Dead Simple Rails Deployment

#11
post #5

Article is blocked here at the office, but since playing with the Passenger/Capistrano/SVN workflow I don't think it gets much more simple than: svn commit -m "Added stuff." cap:deploy

Why would that be blocked?

Not sure about abyssknight, but they block random random things here at work (corporate america!). They've got weird rules and/or regexes for this stuff. Some of it makes no sense whatsoever

Re: Dead Simple Rails Deployment

#12
post #10

Why not just rsync -auvz? Avoiding a small bit of initial frustration in setting up Capistrano, SSH keys etc, in order to have what feels like an easier deploy is a wonderful case of penny wise and pound foolish. Take the time, do it right, get the benefits of a real deployment. It's worth it.

I essentially do the same thing as the author, but use a shell script on the server.

Locally I do this 'git push repo master' then on the remote machine I run 'update.sh' which is here: http://pastie.org/496681

I tend to think that if you are going to bother with Capistrano you should go all the way..

Post reply on HN