comparison docs/setup.rst @ 4522:a9a1560dad79

setup: clarify that we only support 2.6 and 2.7
author Mads Kiilerich <madski@unity3d.com>
date Wed, 24 Sep 2014 14:24:40 +0200
parents a68fc4abeda3
children 570a4e40f0bb
comparison
equal deleted inserted replaced
4521:5f310a5597bf 4522:a9a1560dad79
683 683
684 Here is a sample excerpt from an Apache Virtual Host configuration file:: 684 Here is a sample excerpt from an Apache Virtual Host configuration file::
685 685
686 WSGIDaemonProcess pylons \ 686 WSGIDaemonProcess pylons \
687 threads=4 \ 687 threads=4 \
688 python-path=/home/web/kallithea/pyenv/lib/python2.6/site-packages 688 python-path=/home/web/kallithea/pyenv/lib/python2.7/site-packages
689 WSGIScriptAlias / /home/web/kallithea/dispatch.wsgi 689 WSGIScriptAlias / /home/web/kallithea/dispatch.wsgi
690 WSGIPassAuthorization On 690 WSGIPassAuthorization On
691 691
692 .. note:: 692 .. note::
693 when running apache as root please add: `user=www-data group=www-data` 693 when running apache as root please add: `user=www-data group=www-data`
706 706
707 # sometimes it's needed to set the curent dir 707 # sometimes it's needed to set the curent dir
708 os.chdir('/home/web/kallithea/') 708 os.chdir('/home/web/kallithea/')
709 709
710 import site 710 import site
711 site.addsitedir("/home/web/kallithea/pyenv/lib/python2.6/site-packages") 711 site.addsitedir("/home/web/kallithea/pyenv/lib/python2.7/site-packages")
712 712
713 from paste.deploy import loadapp 713 from paste.deploy import loadapp
714 from paste.script.util.logging_config import fileConfig 714 from paste.script.util.logging_config import fileConfig
715 715
716 fileConfig('/home/web/kallithea/production.ini') 716 fileConfig('/home/web/kallithea/production.ini')