Document running under WSGI server. #32

Merged
merged 5 commits into from Jun 22, 2015

Projects

None yet

4 participants

@tseaver
Member
tseaver commented Jun 20, 2015
  • Add docs for installation into a virtualenv.
  • Update Sphinx paths to use _ prefix.

Closes #30.

tseaver added some commits Jun 20, 2015
@tseaver tseaver Document running under WSGI server.
- Add docs for installation into a virtualenv.
- Update Sphinx paths to use '_' prefix.

Closes #30.
6b96bc7
@tseaver tseaver Update changelog / WHATSNEW docs to account for WSGI docs.
[ci skip]
003ca49
@tseaver tseaver Document compositon of Zope w/ other WSGI apps.
[ci skip]
81e1fc0
@tseaver tseaver Notifications to me, for now.
ae88dec
@sheilatron
Contributor

This is very helpful! Thank you @tseaver !!!

@tomgross tomgross commented on an outdated diff Jun 22, 2015
doc/INSTALL-virtualenv.rst
+
+Once you've installed Zope, you will need to create an "instance
+home". This is a directory that contains configuration and data for a
+Zope server process. The instance home is created using the
+``mkzopeinstance`` script:
+
+.. code-block:: sh
+
+ $ bin/mkzopeinstance
+
+You can specify the Python interpreter to use for the instance
+explicitly:
+
+.. code-block:: sh
+
+ $ bin/mkzopeinstance --python=bin/pythn
@tomgross
tomgross Jun 22, 2015 Contributor

it should read $ bin/mkzopeinstance --python=bin/python

@tomgross
Contributor

👍 Works perfectly. Thanks @tseaver !

@tomgross tomgross merged commit 1c7db71 into 2.13 Jun 22, 2015
@tomgross tomgross deleted the 20-document_wsgi_publisher branch Jun 22, 2015
@tomgross tomgross commented on the diff Jun 22, 2015
doc/WSGI.rst
+`composite application <http://pythonpaste.org/deploy/#composite-applications>`_
+support offered by ``PasteDeploy`` to host Zope at the ``/`` prefix,
+with static files served from disk at ``/static``:
+
+.. code-block:: ini
+
+ [app:zope-app]
+ use = egg:Zope2#main
+ zope_conf = %(here)s/zope.conf
+
+ [pipeline:zope-pipeline]
+ pipeline =
+ egg:paste#evalerror
+ egg:repoze.retry#retry
+ egg:repoze.tm2#tm
+ zope
@tomgross
tomgross Jun 22, 2015 Contributor

This should be zope-app in this example.

@aclark4life
Member

Nice 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment