如何使用基于 SVN 的子项目为 zc.buildout 编写 buildout.cfg
我想为生产使用 zc.buildout 配置。就我而言,我有来自两个独立 SVN 存储库的两个子项目。我想将它们部署到同一个网站中。基本上,这是两个将进入同一网络服务器的子站点。我可以在我的电脑上手动将其组合在一起,但我想使用构建。我该怎么做?我突然想到,我需要首先从 SVN 获取两个站点的最新版本(将它们放在哪里?)接下来,在每个子项目上运行构建脚本???接下来,在主项目中运行构建脚本???是这样吗?
I want to make an zc.buildout configuration for production use. In my case, I have two sub-projects from two separate SVN repositories. I want to deploy these into the same web site. Basically, these are two sub-sites that will go into the same web server. I can manually put this together on my PC, but I'd like to use buildout. How do I do this? It strikes me that I need to first get the latest version of the two sites from SVN (put them where?) Next, run the buildout script on each of the sub-projects??? Next, run the buildout script in the master project??? Is that right?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试
mr.developer
,它可以查看并在构建期间自动更新您的 svn 项目。类似于:
注意,这不是一个完整的工作示例,只是一个通用的构建布局。
Try your luck with
mr.developer
, it can check out and update your svn projects during buildout automatically.Something like:
Note, this is not a complete working example, just a general buildout layout.