当SCM的repositoty和需要部署的app都在同一台服务器上的时候,可以在capistrano的设置文件中用下面的方式使之从本地拷贝代码。

set :repository, "/scm/repository/direcoty/on/server/xxx.git"
set :local_repository, "ssh://xxx.xxx.xxx.xxx/scm/repository/direcoty/on/server/xxx.git"

Related posts:

  1. rails passenger development environment
  2. install mysql5 using macports on macbook
  3. add starling boot service to ubuntu
  4. wordpress and apache proxy