Updated ReST documentation.
This commit is contained in:
parent
36b15b4ad8
commit
a8139feb1a
37 changed files with 963 additions and 910 deletions
|
|
@ -37,9 +37,9 @@ mod\_wsgi Setup
|
|||
Install mod\_wsgi
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
mod*wsgi is an excellent, secure, and high-performance way to serve
|
||||
mod\ *wsgi is an excellent, secure, and high-performance way to serve
|
||||
Python projects. Code reloading is a breeze, Python modules are executed
|
||||
as a user of your choice (which is a great security win), and mod*wsgi
|
||||
as a user of your choice (which is a great security win), and mod*\ wsgi
|
||||
is easy to set up on most distributions.
|
||||
|
||||
For the sake of brevity, this guide will refer you to mod\_wsgi's
|
||||
|
|
@ -50,10 +50,10 @@ Ubuntu, you may install the entire stack with the following command:
|
|||
|
||||
``sudo aptitude install libapache2-mod-wsgi``
|
||||
|
||||
This should install apache2 (if it isn't already), mod*wsgi, and load
|
||||
This should install apache2 (if it isn't already), mod\ *wsgi, and load
|
||||
the module. On Fedora or CentOS, you'll do this with ``yum`` and a
|
||||
similar package name that you'll need to search for. On Windows, you'll
|
||||
need to download and install apache2 and mod*wsgi binaries.
|
||||
need to download and install apache2 and mod*\ wsgi binaries.
|
||||
|
||||
Copy and modify the VHOST
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
@ -88,12 +88,13 @@ site <http://evennia.com>`_.
|
|||
A note on code reloading
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If your mod*wsgi is set up to run on daemon mode (as will be the case by
|
||||
default on Debian and Ubuntu), you may tell mod*wsgi to reload by using
|
||||
the ``touch`` command on ``evennia/game/web/utils/apache_wsgi.conf``.
|
||||
When mod\_wsgi sees that the file modification time has changed, it will
|
||||
force a code reload. Any modifications to the code will not be
|
||||
propagated to the live instance of your site until reloaded.
|
||||
If your mod\ *wsgi is set up to run on daemon mode (as will be the case
|
||||
by default on Debian and Ubuntu), you may tell mod*\ wsgi to reload by
|
||||
using the ``touch`` command on
|
||||
``evennia/game/web/utils/apache_wsgi.conf``. When mod\_wsgi sees that
|
||||
the file modification time has changed, it will force a code reload. Any
|
||||
modifications to the code will not be propagated to the live instance of
|
||||
your site until reloaded.
|
||||
|
||||
If you are not running in daemon mode or want to force the issue, simply
|
||||
restart or reload apache2 to apply your changes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue