使用repoze.zope2运行opencore

repopencore的Python项目详细描述


这是什么?

这个包的目的是提供一个(主要是)自动设置 用于在符合wsgi的repoze.zope2堆栈上运行opencore。

这仍然是实验性的;opencore not保证运行 在这个设置中很顺利。请在

http://trac.openplans.org/openplans/newticket?component=repopencore

此包旨在安装到现有的OpenCORE中 建造。它不会自己构建opencore。请阅读

http://www.coactivate.org/projects/opencore/getting-started

有关OpenCore安装说明。

我怎么用?

  1. 将此软件包安装到您的opencore环境中。

  2. 为您的部署生成配置文件:

    mkopencoreconfig 8080 zope/etc/zope.conf>;opencore.ini

    The first argument is the port to serve from; this does not need to be the same port that you serve your standard OpenCore setup from, and in fact the two setups can theoretically run in parallel.

    The second argument is the (absolute or relative) path to your Zope configuration file, usually found in {build_dir}/opencore/zope/etc/zope.conf

  3. 启动服务器:

    运行opencore wsgi zope/bin/zopectl opencore.ini

    The first argument is the (absolute or relative) path to your zopectl executable, usually found in {build_dir}/opencore/zope/bin/zopectl

    The second argument is the path to the configuration file generated by mkopencoreconfig.

    Additional arguments like –reload or –daemon can be provided. They will be passed to the paster serve command executed here; run paster serve –help for available options.

如果你有雄心壮志,你应该能把它融入你的 管理器设置、构建配置和/或可重复 fassembler构建。这些我都没试过。

它还能做什么?

还有一个用于运行单个wsgi的实验配置 以opencore和tasktracker作为端点进行堆栈,并释放 为主题tasktracker设置的中间件,用于完全可视化集成。

如果您想试试,步骤类似:

  1. First, install the extra dependencies with commands provided by repopencore:

    install-myghty-fork && install-tasktracker && install-deliverance

    This will install TaskTracker and Deliverance from trunk as well as a version of Myghty (which is required by a dependency of TaskTracker) with the following patch applied to myghty.importer at L56:

    -__builtin__.__import__ = import_module +#__builtin__.__import__ = import_module

    内置进口的Monkeypatch似乎打破了Zope的自我 狼吞虎咽的系统路径导致了世界各地的强暴, 因此这里有分叉装置。

  2. 接下来,为您的部署生成一个配置文件:

    mkopencoreconfig和tt 8080 zope/etc/zope.conf../../../var/secret.txt../../../var/admin.txt./>;opencore和tt.ini

    前两个参数与上面的mkopencoreconfig相同。 第三个和第四个参数是通向共享秘密的路径 和管理信息文件(它们写在./builds目录之外 由Fassembler提供,因为它们不会在每个版本上都更改)。最后 参数是tasktracker放置其某些数据的基本路径。 包括模板缓存和sqlite数据库。

  3. 初始化tasktracker数据库:

    粘贴安装程序opencore with tt.ini tasktracker

  4. 启动服务器:

run-opencore-wsgi zope/bin/zopectl opencore.ini

目前主题(与解脱)还没有到位,但在其他方面 只要您配置了所有内容,集成实际上就可以工作了 正确地。

<>也可以使用预先配置的配置。 tasktracker数据库;只需编辑opencore-with-tt.ini中的相关行 将它们指向现有数据库,而不是使用新创建的数据库 sqlite数据库。

此版本中的新功能

0.3

tasktracker现在的主题是释放。有关说明,请参阅readme.txt。

如果您已经有了一个由repopencore 0.2生成的带有tt.ini的opencore文件, 只需添加“.deliverance_rule_file=/path/to/repopencore/repopencore/deliverance.xml” 到要升级的[composite:main]部分。

0.2

在wsgi管道中添加了对tasktracker的支持。有关说明,请参阅readme.txt。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Gson类中的java验证错误   If和elseif之间的java差异?   字典Java8地图。输入比较器   java连接到远程计算机以获得WMI支持   java如何使用改型处理JSON对象中的空值   在Java中使用Comparator时不可编译的源代码   java将Jar添加到JSP的运行时路径   带有随机对象的while循环的java大O时间复杂性   java可以在不考虑参数的情况下模拟方法吗?   java我有一个简单的代码,它不工作。无法修复错误“println”   向eclipse添加Xively java库   java是否可以启用本机代码的缓存?   全局变量如何在Java中的所有类之间共享要使用的语言环境?   Java内存游戏如何翻转单个卡?