安全地发布网站后期制作的最佳方式是什么? [英] Whats the best way to securely publish a site post build?

查看:144
本文介绍了安全地发布网站后期制作的最佳方式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

那么,在你的经验中,最好的方法是什么?有没有一种安全的方式,也可以在构建自动化工具中进行脚本化/触发?



编辑:我应该提到这是Windows / .net,我将部署到iis6

解决方案

对于一些项目,我使用 Capistrano 推出生活。它建立在ruby之上,并使部署脚本写得超级简单,并使用ssh。



在其他项目中,我有一个微小的部署应用程序,使用bash将svn导出到临时目录,然后将其同步到实时服务器。您可以使rsync使用ssh。



我非常喜欢Capistrano方法,即使您的项目不在ruby / rails。


So, in your experience, whats the best way? Is there a secure way that's also scriptable/triggerable in a build automation tool?

Edit: I should mention this is windows/.net and I'll be deploying to iis6

解决方案

For some projects I use Capistrano to push out to live. It is built on top of ruby and makes deploy script writing super easy and uses ssh.

On other projects I have a tiny deploy app that uses bash to do an svn export to a temporary directory and then rsync it over to the live server. You can make rsync use ssh.

I greatly prefer the Capistrano method, even if your project isn't in ruby/rails.

这篇关于安全地发布网站后期制作的最佳方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆