{ "info": { "author": "Gael Pasgrimaud", "author_email": "gael@gawel.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Buildout", "Framework :: Zope2", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. contents::\n\n\nDetailed Documentation\n**********************\n\nThis recipe use plone.recipe.zope2instance and plone.recipe.zope2zeoserver to\ngenerate config files and instances for Zope2 instances / zeo server using\nrepoze.zope2\n\nThis mean that you intances are wsgi applications served by PasteDeploy.\n\nWSGI Instance\n=============\n\nRecipe options are the same than `plone.recipe.zope2instance\n`_.\n\nThe default logging config is override to log to `STDERR` instead of standard\nlog files. You can change this by setting `event-log-custom` and\n`access-log-custom` options.\n\n\nWe'll start by creating a buildout that uses the recipe::\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = instance\n ... extends = \n ... http://dist.plone.org/release/3.3/versions.cfg\n ... http://download.zope.org/zope3.4/3.4.0/versions.cfg\n ... find-links =\n ... http://dist.repoze.org/zope2/2.10/\n ... versions = versions\n ...\n ... [instance]\n ... recipe = collective.recipe.zope2wsgi\n ... user = admin:admin\n ... \"\"\")\n\nRunning the buildout gives us::\n\n >>> print 'start', system(buildout) \n start Installing instance.\n Generated config file '/sample-buildout/instance.ini'\n Generated script '/sample-buildout/bin/instance'.\n Generated script '/sample-buildout/bin/instance.wsgi'.\n\nThen you just need to run::\n\n $ bin/instance serve\n\nThis will launch the application with Paste with the generated `instance.ini`\nfile.\n\nYou can also use mod_wsgi with the `instance.wsgi` script (this is not tested\nbut should work).\n\nUsing ZEO\n=========\n\nRecipe options are the same than `plone.recipe.zope2zeoserver\n`_.\n\nWe'll start by creating a buildout that uses the recipe::\n\n >>> write('buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... parts = zeo instance\n ... extends = \n ... http://dist.plone.org/release/3.3/versions.cfg\n ... http://download.zope.org/zope3.4/3.4.0/versions.cfg\n ... find-links =\n ... http://dist.repoze.org/zope2/2.10/\n ... versions = versions\n ...\n ... [zeo]\n ... recipe = collective.recipe.zope2wsgi:zeo\n ... \n ... [instance]\n ... recipe = collective.recipe.zope2wsgi\n ... user = admin:admin\n ... zeo-client = on\n ... \"\"\")\n\nRunning the buildout gives us::\n\n >>> print 'start', system(buildout) \n start ...\n Installing zeo.\n Created directory /sample-buildout/parts/zeo\n ...\n Generated script '/sample-buildout/bin/zeo'.\n Generated script '/sample-buildout/bin/zeopack'.\n Installing instance.\n Generated script '/sample-buildout/bin/instance'.\n Generated script '/sample-buildout/bin/instance.wsgi'.\n \nThen you just need to run::\n\n $ bin/zeo start\n $ bin/instance serve --daemon\n\n\n\nContributors\n************\n\nGael Pasgrimaud \n\n`Alter Way `_\n\n\nChange history\n**************\n\n0.1 (2009-09-04)\n================\n\n- Initial release\n [gawel]\n\nDownload\n********", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/collective.recipe.zope2wsgi", "keywords": "wsgi zope2 buildout", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "collective.recipe.zope2wsgi", "package_url": "https://pypi.org/project/collective.recipe.zope2wsgi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.recipe.zope2wsgi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/collective.recipe.zope2wsgi" }, "release_url": "https://pypi.org/project/collective.recipe.zope2wsgi/0.1/", "requires_dist": null, "requires_python": null, "summary": "zc.buildout recipe to generate zope instances using repoze.zope2", "version": "0.1" }, "last_serial": 754478, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "78d506184ac4fb2e81b85553b5a93c22", "sha256": "ed2616b53efb9c21fa98726a8cdecc3a59d61cfb1683a0a28cca7ff8da5e707f" }, "downloads": -1, "filename": "collective.recipe.zope2wsgi-0.1.tar.gz", "has_sig": false, "md5_digest": "78d506184ac4fb2e81b85553b5a93c22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 200120, "upload_time": "2009-09-04T17:39:00", "url": "https://files.pythonhosted.org/packages/12/22/f80faa3ebe96b4d30b1504b14010819b973221057f9de6fd3fa8be4b4fd7/collective.recipe.zope2wsgi-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78d506184ac4fb2e81b85553b5a93c22", "sha256": "ed2616b53efb9c21fa98726a8cdecc3a59d61cfb1683a0a28cca7ff8da5e707f" }, "downloads": -1, "filename": "collective.recipe.zope2wsgi-0.1.tar.gz", "has_sig": false, "md5_digest": "78d506184ac4fb2e81b85553b5a93c22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 200120, "upload_time": "2009-09-04T17:39:00", "url": "https://files.pythonhosted.org/packages/12/22/f80faa3ebe96b4d30b1504b14010819b973221057f9de6fd3fa8be4b4fd7/collective.recipe.zope2wsgi-0.1.tar.gz" } ] }