组合SVN FTP系统? [英] Combined SVN FTP system?

查看:133
本文介绍了组合SVN FTP系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何系统可以检查网站的变化并自动更新网站。

Are there any systems out there where one can check in changes for a website and have that automatically update the website.

该网站在整个过程中最终稳定运行,无需将文件ftp到服务器。

The website effetively runs off the latest stable build the whole time without the need to ftp the files to the server.

推荐答案

我会考虑使用 post-commit hook ,以便在更改时更新站点。这可能与使用svn export将存储库的当前状态导出到实时网站位置一样简单。当然,如果你的站点有很多内容,这就需要考虑性能问题,所以你可能希望做一些更复杂的事情,并且只会推送更新内容,这些内容在提交中被更改。

I would look into using a post-commit hook to update the site when changes are made. This could be something as simple as using "svn export" to export the current state of the repository to the live website location. Of course, this has performance considerations if your site has lots of content, so you may want to do something more sophisticated and only push updates for content that was changed in the commit.

这篇关于组合SVN FTP系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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