请告诉我安全地发布一个网站后生成的最佳方法是什么? [英] Whats the best way to securely publish a site post build?

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

问题描述

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

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

编辑:我应该提到这是Windows / .NET,我会被部署到IIS6

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

推荐答案

有关我使用 Capistrano的一些项目推去住。它是建立在Ruby之上,使部署剧本创作超级简单和使用ssh。

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.

在其他项目中,我有一个微小的部署应用程序,使用bash中做一个SVN导出到一个临时目录,然后rsync的它移交给现场服务器。您可以rsync的使用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.

我大大preFER的Capistrano的方法,即使你的项目是不是在红宝石/导轨。

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

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

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