diff options
| author | Chris McDonough <chrism@plope.com> | 2011-01-21 01:50:46 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-01-21 01:50:46 -0500 |
| commit | 43ab049020d000a84c86770e9782a9964ff4167d (patch) | |
| tree | e8500e44767e10c46a35c31d9872e99eeb489a7f /docs/tutorials/modwsgi/index.rst | |
| parent | ef2ce559d68bc1e7edd6542a3c6a0167ecdd9dc2 (diff) | |
| download | pyramid-43ab049020d000a84c86770e9782a9964ff4167d.tar.gz pyramid-43ab049020d000a84c86770e9782a9964ff4167d.tar.bz2 pyramid-43ab049020d000a84c86770e9782a9964ff4167d.zip | |
deal with the addition of production.ini
Diffstat (limited to 'docs/tutorials/modwsgi/index.rst')
| -rw-r--r-- | docs/tutorials/modwsgi/index.rst | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/tutorials/modwsgi/index.rst b/docs/tutorials/modwsgi/index.rst index 4257f40b3..c6d5d891d 100644 --- a/docs/tutorials/modwsgi/index.rst +++ b/docs/tutorials/modwsgi/index.rst @@ -75,13 +75,15 @@ commands and files. from pyramid.paster import get_app application = get_app( - '/Users/chrism/modwsgi/env/myapp/myapp.ini', 'main') - - The first argument to ``get_app`` is the project Paste - configuration file name. The second is the name of the section - within the .ini file that should be loaded by ``mod_wsgi``. The - assignment to the name ``application`` is important: mod_wsgi - requires finding such an assignment when it opens the file. + '/Users/chrism/modwsgi/env/myapp/production.ini', 'main') + + The first argument to ``get_app`` is the project Paste configuration file + name. It's best to use the ``production.ini`` file provided by your + Pyramid paster template, as it contains settings appropriate for + production. The second is the name of the section within the .ini file + that should be loaded by ``mod_wsgi``. The assignment to the name + ``application`` is important: mod_wsgi requires finding such an + assignment when it opens the file. #. Make the ``pyramid.wsgi`` script executable. |
