capistrano without git at remote shared hosting

103 views
Skip to first unread message

Born Steinbjörn

unread,
Sep 23, 2014, 5:54:16 PM9/23/14
to capis...@googlegroups.com
Hello,

is there any way to use capistrano without having git installed on the staging/production server? I am just asking because i am not able to install git at shared hosting, unfortunately.

Thanks and Cheers.

Henry Scullion

unread,
Sep 26, 2014, 5:42:48 AM9/26/14
to capis...@googlegroups.com
Assuming you have ssh access to your server (the primary requirement for using Capistrano to deploy), I guess you could override the Capistrano git tasks with some other transfer strategy like sftp for example...

Bruno Sutic

unread,
Sep 30, 2014, 9:03:48 AM9/30/14
to capis...@googlegroups.com
Capistrano supports SVN so how about that? If your repo is on github, it supports svn too!
You just have to figure out how to make it work.

On second thought that might be more effort than just buying 5$ digital ocean VPS instead of using shared hosting.

troels knak-nielsen

unread,
Sep 30, 2014, 9:33:48 AM9/30/14
to capis...@googlegroups.com
Hi Born,

If you must use a shared hosting plan and there is no ssh, capistrano won't get you far. Here's a small (rake) script I've used for deploying over ftp. You need to have lftp on your local machine since it deploys through that (And you probably need to use a proper shell, so if you're on Windows, you may have to go through cygwin). It's not capistrano, but maybe it'll help you:



--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/bba16f6b-1cc2-459d-9a7e-ef96bf520225%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages