This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Detailed Documentation

This recipe use plone.recipe.zope2instance and plone.recipe.zope2zeoserver to generate config files and instances for Zope2 instances / zeo server using repoze.zope2

This mean that you intances are wsgi applications served by PasteDeploy.

WSGI Instance

Recipe options are the same than plone.recipe.zope2instance.

The default logging config is override to log to STDERR instead of standard log files. You can change this by setting event-log-custom and access-log-custom options.

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = instance
... extends =
...     http://dist.plone.org/release/3.3/versions.cfg
...     http://download.zope.org/zope3.4/3.4.0/versions.cfg
... find-links =
...     http://dist.repoze.org/zope2/2.10/
... versions = versions
...
... [instance]
... recipe = collective.recipe.zope2wsgi
... user = admin:admin
... """)

Running the buildout gives us:

>>> print 'start', system(buildout)
start Installing instance.
Generated config file '/sample-buildout/instance.ini'
Generated script '/sample-buildout/bin/instance'.
Generated script '/sample-buildout/bin/instance.wsgi'.

Then you just need to run:

$ bin/instance serve

This will launch the application with Paste with the generated instance.ini file.

You can also use mod_wsgi with the instance.wsgi script (this is not tested but should work).

Using ZEO

Recipe options are the same than plone.recipe.zope2zeoserver.

We’ll start by creating a buildout that uses the recipe:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = zeo instance
... extends =
...     http://dist.plone.org/release/3.3/versions.cfg
...     http://download.zope.org/zope3.4/3.4.0/versions.cfg
... find-links =
...     http://dist.repoze.org/zope2/2.10/
... versions = versions
...
... [zeo]
... recipe = collective.recipe.zope2wsgi:zeo
...
... [instance]
... recipe = collective.recipe.zope2wsgi
... user = admin:admin
... zeo-client = on
... """)

Running the buildout gives us:

>>> print 'start', system(buildout)
start ...
Installing zeo.
Created directory /sample-buildout/parts/zeo
...
Generated script '/sample-buildout/bin/zeo'.
Generated script '/sample-buildout/bin/zeopack'.
Installing instance.
Generated script '/sample-buildout/bin/instance'.
Generated script '/sample-buildout/bin/instance.wsgi'.

Then you just need to run:

$ bin/zeo start
$ bin/instance serve --daemon

Change history

0.1 (2009-09-04)

  • Initial release [gawel]
Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.recipe.zope2wsgi-0.1.tar.gz (200.1 kB) Copy SHA256 Checksum SHA256 Source Sep 4, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting