diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 21:41:46 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 21:41:46 -0400 |
| commit | eaaa8855d88eedb2ad4fef435e7473022504485e (patch) | |
| tree | 90a1e05181c607431935d81c5dabf7421d0969f3 /docs/tutorials/modwsgi | |
| parent | 7c697c55324a1624c013e1285734aa687964d690 (diff) | |
| download | pyramid-eaaa8855d88eedb2ad4fef435e7473022504485e.tar.gz pyramid-eaaa8855d88eedb2ad4fef435e7473022504485e.tar.bz2 pyramid-eaaa8855d88eedb2ad4fef435e7473022504485e.zip | |
convert more docs from bfg to pyramid
Diffstat (limited to 'docs/tutorials/modwsgi')
| -rw-r--r-- | docs/tutorials/modwsgi/index.rst | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index ed9a7a90b..5572e300b 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -1,6 +1,6 @@ .. _modwsgi_tutorial: -Running a :mod:`repoze.bfg` Application under ``mod_wsgi`` +Running a :mod:`pyramid` Application under ``mod_wsgi`` ========================================================== :term:`mod_wsgi` is an Apache module developed by Graham Dumpleton. @@ -8,15 +8,15 @@ It allows :term:`WSGI` programs to be served using the Apache web server. This guide will outline broad steps that can be used to get a -:mod:`repoze.bfg` application running under Apache via ``mod_wsgi``. +:mod:`pyramid` application running under Apache via ``mod_wsgi``. This particular tutorial was developed under Apple's Mac OS X platform (Snow Leopard, on a 32-bit Mac), but the instructions should be largely the same for all systems, delta specific path information for commands and files. .. note:: Unfortunately these instructions almost certainly won't work - for deploying a :mod:`repoze.bfg` application on a Windows system - using ``mod_wsgi``. If you have experience with :mod:`repoze.bfg` + for deploying a :mod:`pyramid` application on a Windows system + using ``mod_wsgi``. If you have experience with :mod:`pyramid` and ``mod_wsgi`` on Windows systems, please help us document this experience by submitting documentation to the `mailing list <http://lists.repoze.org/listinfo/repoze-dev>`_. @@ -49,18 +49,17 @@ commands and files. $ cd modwsgi $ /usr/local/bin/virtualenv --no-site-packages env -#. Install :mod:`repoze.bfg` into the newly created virtualenv: +#. Install :mod:`pyramid` into the newly created virtualenv: .. code-block:: text $ cd ~/modwsgi/env - $ bin/easy_install -i http://dist.repoze.org/bfg/current/simple \ - repoze.bfg + $ bin/easy_install repoze.bfg -#. Create and install your :mod:`repoze.bfg` application. For the +#. Create and install your :mod:`pyramid` application. For the purposes of this tutorial, we'll just be using the ``bfg_starter`` application as a baseline application. Substitute your existing - :mod:`repoze.bfg` application as necessary if you already have + :mod:`pyramid` application as necessary if you already have one. .. code-block:: text @@ -75,7 +74,7 @@ commands and files. .. code-block:: python - from repoze.bfg.paster import get_app + from pyramid.paster import get_app application = get_app( '/Users/chrism/modwsgi/env/myapp/myapp.ini', 'main') @@ -123,7 +122,7 @@ commands and files. :term:`mod_wsgi` has many knobs and a great variety of deployment modes. This is just one representation of how you might use it to -serve up a :mod:`repoze.bfg` application. See the `mod_wsgi +serve up a :mod:`pyramid` application. See the `mod_wsgi configuration documentation <http://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines>`_ for more in-depth configuration information. |
