Changeset - 722677a67afb
[Not reviewed]
default
0 1 0
timeless@gmail.com - 10 years ago 2016-05-03 07:10:13
timeless@gmail.com
spelling: current
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
docs/setup.rst
Show inline comments
 
@@ -811,13 +811,13 @@ Example WSGI dispatch script:
 
.. code-block:: python
 

	
 
    import os
 
    os.environ["HGENCODING"] = "UTF-8"
 
    os.environ['PYTHON_EGG_CACHE'] = '/srv/kallithea/.egg-cache'
 

	
 
    # sometimes it's needed to set the curent dir
 
    # sometimes it's needed to set the current dir
 
    os.chdir('/srv/kallithea/')
 

	
 
    import site
 
    site.addsitedir("/srv/kallithea/venv/lib/python2.7/site-packages")
 

	
 
    ini = '/srv/kallithea/my.ini'
0 comments (0 inline, 0 general)