informatique:issue_tracking_system:trac
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
informatique:issue_tracking_system:trac [20/04/2011 19:04] – [CentOS 5.5 + RPMForge] cyrille | informatique:issue_tracking_system:trac [19/05/2012 00:18] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 8: | Ligne 8: | ||
==== CentOS 5.5 + RPMForge ==== | ==== CentOS 5.5 + RPMForge ==== | ||
+ | |||
+ | Installation de Trac et mod_wsgi | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
yum install python-setuptools python-tz | yum install python-setuptools python-tz | ||
Ligne 31: | Ligne 35: | ||
tracd --port 8000 / | tracd --port 8000 / | ||
# Browse http:// | # Browse http:// | ||
- | | + | |
+ | |||
+ | # / | ||
+ | <code python> | ||
+ | import sys | ||
+ | |||
+ | sys.stdout = sys.stderr | ||
+ | |||
+ | import os | ||
+ | |||
+ | os.environ[' | ||
+ | os.environ[' | ||
+ | os.environ[' | ||
+ | |||
+ | import trac.web.main | ||
+ | |||
+ | application = trac.web.main.dispatch_request | ||
+ | </ | ||
+ | |||
+ | # / | ||
+ | |||
+ | LoadModule wsgi_module modules/ | ||
+ | |||
+ | WSGIScriptAlias /trac / | ||
+ | |||
+ | < | ||
+ | WSGIApplicationGroup %{GLOBAL} | ||
+ | Order deny, | ||
+ | Allow from all | ||
+ | </ | ||
+ | |||
+ | service httpd restart | ||
+ | # Browse http:// | ||
+ | Yep ! Ça roule | ||
+ | |||
+ | === essais précédent avec mod_python === | ||
+ | |||
+ | **mod_python n'est pas reccomandé, | ||
+ | * [[http:// | ||
- | === essais 01 === | ||
- | | ||
yum install babel trac | yum install babel trac | ||
informatique/issue_tracking_system/trac.1303319043.txt.gz · Dernière modification : 19/05/2012 00:15 (modification externe)