anyone?
On Feb 18, 5:22 pm, der_tom <tomabr...@gmail.com> wrote: > hi, > > getting started with multistage cap and getting a bit confused. first > a question: once cap is logged in via ssh on the target production > server, does it git-clone from there or does it clone from the gitrepo > locally and then transfers the files via ssh to the prod-server? > im asking because im getting confused and the tutorials on the web r > gettin me even more confused: > i have 3 machines: > local devbox M1, local server M2 (gitrepo), vps (M3) > > M1 & M2 are on the local LAN, M2 has no inbound route, meaning its not > accessible from the outside. M3 in on the internet. > > i do access my git repo locally via (example) > clone t...@192.168.178.21(IP of M2):~/Projects/00_GitRepos/testapp.git/ > > now, how should my deploy looks like?: > ....schnipp > set :scm_username, "tom" > set :local_repository, "t...@192.168.178.21:~/Projects/00_GitRepos/ > testapp.git" > #set :repository, "file:///192.168.178.21:~/Projects/00_GitRepos/ > testapp.git" > #set :deploy_via, :remote_cache > set :scm_verbose, true > set :repository, "t...@192.168.178.21:~/Projects/00_GitRepos/ > testapp.git" > #set :local_repository, "t...@192.168.178.21:~/Projects/00_GitRepos/ > testapp.git" > #set :local_repository, "192.168.178.21:~/Projects/00_GitRepos/ > testapp.git" > ....schnapp > > which entry do i need here? > > tia > > tom -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en