Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capistrano deployment with rsync

I am trying to deploy apps from my dev machine using capistrano and rsync. I have studied that rsync is used for backup and only copies bytes that are changed in the file. But to fit it as capistrano task.

A sample deploy code with rsync, with explanation would be be greatly helpful.

Thanks

like image 268
Gagan Avatar asked Feb 08 '26 05:02

Gagan


2 Answers

Check if this following links help you understand the code samples:-

http://philtoland.com/post/448916606/capistrano-deployment-using-rsync

have you checked this :-

https://github.com/vigetlabs/capistrano_rsync_with_remote_cache

like image 170
Akshay Patil Avatar answered Feb 12 '26 15:02

Akshay Patil


If you soon end up using Capistrano v3 (v3.0.0pre14 as of right now), the good old Rsync support gem capistrano_rsync_with_remote_cache won't work. I recently created the spiritual success to that called Capistrano::Rsync which you might want to try.

like image 36
Andri Möll Avatar answered Feb 12 '26 14:02

Andri Möll



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!