20110205网站更新部署过程记录
以便后台启动邮件监控进程
修改了rake edm:everyday_tuan部分的代码,只向自己发测试邮件,待正式上线后再修改来向外部发送
http://serverfault测试数据/questions/200122/capistrano-requiring-root-password-to-deploy-bad
http://HdhCmsTestgeilibuy测试数据
Remote Cache
In most cases you want to use this option, otherwise each deploy will do a full repository clone every time.
set :deploy_via, :remote_cache
Remote caching will keep a local git repo on the server you’re deploying to and simply run a fetch from that rather than an entire clone. This is probably the best option as it will only fetch the changes since the last.
Shallow Clone
As an alternative to the remote cache approach, you can use shallow cloning.
set :git_shallow_clone, 1
Shallow cloning will do a clone each time, but will only get the top commit, not the entire repo. This makes it a bit closer to how an svn checkout works. Be warned, shallow clone won’t work well with the set :branch option.
about capistrano some configuration tutorial
http://help.github测试数据/capistrano/
查看更多关于20110205网站更新部署过程记录的详细内容...