Dead Simple Rails Deployment(blog.jerodsanto.net)
blog.jerodsanto.net
Dead Simple Rails Deployment
http://blog.jerodsanto.net/2009/05/dead-simple-rails-deployment/
13 comments
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..
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..
I hope the article wasn't deployed with Rails, right now the site is down.
ooh how embarrassing. Looks like my little DreamHost account can't handle even trivial traffic :(
I thought I had wp-super-cache enabled but maybe not. I'm giving it a reboot now so we'll see if that fixes things.
I thought I had wp-super-cache enabled but maybe not. I'm giving it a reboot now so we'll see if that fixes things.
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
svn commit -m "Added stuff."
cap:deploy
Not sure how capistrano can be called painful, all you have to type is 'cap deploy', then you have migrations, rollbacks etc all part of it.
What's the news? Deployon passenger using git's its not new.
The article doesn't say that this is new. It simply specifies how easy it is to deploy Rails apps on Passenger.
Have you heard of heroku.com
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.