Rietveld 与 App Engine 有着千丝万缕的联系吗?
我一直在寻找 Rietveld 作为我公司缺乏代码审查的解决方案。是否可以在不使用 App Engine 的情况下在内部服务器上进行设置?它似乎有一些 App Engine 特定代码,我不确定它是否可以在普通的旧 Django/Apache 安装上进行设置。我环顾四周,但没有找到任何有关此的信息。
I've been looking at Rietveld as a solution for the lack of code reviews at my company. Can it be set up on a server in-house without using App Engine? It seems to have a bit of App Engine specific code, and I'm not sure it could be set up on a plain old Django/Apache install. I've looked around, but haven't found any information about this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
请查看 http://django-gae2django.googlecode.com/svn/trunk/examples/rietveld/自述文件
gae2django 项目允许 GAE 应用程序在 django 而不是 GAE 开发环境上运行。
这意味着您可以使用(默认情况下)SQLite 后端直接在 django 下运行 rietveld。您还可以使用 mysql 或 django 支持的任何其他数据库后端。
再加上带有 WSGI 集成的 Web 服务器(例如 Apache),使得本地 rietveld 安装运行良好。
Check out http://django-gae2django.googlecode.com/svn/trunk/examples/rietveld/README
The gae2django project lets GAE apps run against django instead of the GAE development environment.
That means you can run rietveld under django directly, using (by default) an SQLite backend. You can also use mysql or any other DB backend django supports.
That, plus a web server (e.g. Apache) with WSGI integration, makes a local rietveld install run nicely.
使用这些提供与 GAE 相同后端服务的项目之一怎么样?
可能还有更多,这些只是我脑海中所知道的。
What about using one of these projects that provide the same backend services as GAE?
There may be more, these are just the ones I know about off the top of my head.
一些 App Engine 特定代码?它应该是一个示例 App Engine 应用程序,所以是的,它与它有很好的联系。但是,你是对的,它确实使用了 Django,这可以使其移植起来更加可行。我会赞同 @cope360 的建议,但从您的问题的声音来看,您似乎没有对 App Engine 做太多工作。如果只有少数人使用,请尝试在 GAE SDK 本身上运行它。
除此之外,我认为您可以获取“codereview”目录中的大部分代码,并从中构建您自己的 Django/apache 应用程序。
A bit of App Engine specific code? It's supposed to be an example App Engine app, so yeah it's pretty well tied to it. But, you're right, it does use Django which could make it somewhat more feasible to port. I'll second @cope360 recommendation, but from the sounds of your question, it doesn't sound like you've done much with App Engine. If it's only used by a few people, try running it on the GAE SDK itself.
Beyond that, I'd think you could take most of the code in the "codereview" directory and build you're own Django/apache app from that.
我不会考虑使用端口或其他 GAE 仿真,而是考虑使用 ReviewBoard。
Rather than fussing around with a port or other GAE emulation, I would consider using ReviewBoard.