0

是否可以在 GAE 之外运行基于 protopc 的服务?我看到有一个项目托管在http://code.google.com/p/google-protorpc/但它似乎取决于 GAE。文档在这一点上非常模糊,有人有明确的答案吗?

谢谢!

4

2 回答 2

1

Yes. The source code available at http://code.google.com/p/google-protorpc/source/browse/ includes all of the necessary libraries (minus protobufs itself, which you can download from the Google Developers site), and contains examples both for AppEngine and for a generic WSGI server.

The protorpc library itself is server-agnostic.

于 2012-10-10T02:44:53.077 回答
0

在搞砸了这一点之后,我确定 ProtoRPC 目前依赖于谷歌应用引擎。可以从 sdk 中提取您需要的库,但您必须将 protorpc 源更改为不从相对路径导入。总而言之,不值得麻烦,要么使用GAE,要么不要使用protorpc,直到它可以独立运行。

谢谢。

于 2012-10-10T21:09:13.783 回答