capistrano - Where do you set the IP address of the server to push the code to? -



capistrano - Where do you set the IP address of the server to push the code to? -

i'm reading capistrano tutorial: https://github.com/capistrano/capistrano/wiki/2.x-from-the-beginning

where set i.p address of server force code to?

does assume have ssh key setup?

what if have 10 servers, best utilize different tool mirror things?

capistrano isn't responsible pushing code (in sense of pushing changes scm) still git, or other selection of scm.

capistrano default log onto servers named in "roles" , pull code downwards source control, each server individually.

if have 10 servers, , web servers, name them in web role in capistrano.

there first-class github guides more information, in short, yes; it's expected have ssh keys setup a) logging on servers deploy user, , b) server reach source command (often referred deploy keys.)

@arthur's suggestion capistrano multistage useful when deploying multiple environments, such "staging" , "production" procedure same, server list different.

capistrano

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -