是否有任何工具可以自动从测试服务器转移到生产服务器?
是否有任何工具可以自动将代码从测试转移到(阶段然后转移到)生产?
我们在 LAMP 堆栈上运行并且不想依赖 FTP 访问?
除此之外,是否有一些 BASH 或 PERL 脚本可用于同一过程?
我们的生产服务器无法运行我们用于开发的 SVN 或 HG。
Are there any tools for automatically moving code from testing to (stage and then to) production?
We are running on a LAMP stack and don't want to rely on FTP access?
Other than that, is there some BASH or PERL script out there for this same process?
Our production servers cannot run SVN or HG which we use for development.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
查看 PHING。它非常灵活,如果需要,您可以使用原始 php 代码扩展它...它所做的(并且可以做的)不仅仅是移动事物(包括测试、构建、记录等)...
至于文件传输位,您可以使用一堆内置方法(包括但不限于 FTP、SCP、SFTP、RSYNC 等)连接到远程服务器...
Check out PHING. It's very flexible and you can extend it with raw php code if you need to... It does (and can do) a whole lot more than just moving things around (including testing, building, documenting, etc)...
As for the file-transfering bit, you can connect to the remote server using a bunch of built in methods (including but not limited to FTP, SCP, SFTP, RSYNC, and more)...
您可以通过 SVN 将生产副本检出到生产服务器上并使用 http 吗?
You could SVN checkout the production copy onto the production server and use http?
查看 Capistrano 它可能就是您所需要的,简单且按您的预期工作。
Check out Capistrano it might be what you need, simple and doing job as you would expected.
我们使用 RepliWeb,它有点贵,但非常灵活,提供回滚功能、通知、任务执行、计划移动等。
We use RepliWeb, it's somewhat pricy, but extremely flexible, offers rollback capability, notifications, task execution, scheduled moves, and so forth.
webistrano 用于管理 capistrano 的漂亮 UI
webistrano for a pretty UI for managing capistrano