Fastest way to deploy rails apps with Passenger

Posted by yuval on Stack Overflow See other posts from Stack Overflow or by yuval
Published on 2010-04-12T05:11:36Z Indexed on 2010/04/12 5:13 UTC
Read the original article Hit count: 235

Filed under:
|
|
|
|

I am working on a Dreamhost server with Rails 2.3.5.

Every time I make changes to a site, I have to ssh into the site, remove all the files, upload a zip file containing all the new files for the site, unzip that file, migrate the database, and go.

Something tells me there's a faster way to deploy rails apps. I am using mac Time Machine to keep track of different versions of my applications. I know git tracks files, but I don't really know how to work with it to deploy my applications, since passenger takes care of all the magic for me.

What would be a faster way to deploy my applications (and avoid the downtime associated with my method when I delete all files on the server)?

Thanks!

© Stack Overflow or respective owner

Related posts about passenger

Related posts about ruby-on-rails