请告诉我安全地发布一个网站后生成的最佳方法是什么?告诉我、方法、安全、网站

2023-09-04 02:41:30 作者:我很拽i你怎样

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

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.