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 18:11] – cyrille | informatique:issue_tracking_system:trac [19/05/2012 00:18] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| + | |||
| + | [[http:// | ||
| ==== CentOS 5.5 + RPMForge ==== | ==== CentOS 5.5 + RPMForge ==== | ||
| - | | + | Installation de Trac et mod_wsgi |
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | | ||
| easy_install Pygments | easy_install Pygments | ||
| easy_install docutils | easy_install docutils | ||
| - | | + | |
| + | | ||
| + | wget http:// | ||
| + | tar zxf mod_wsgi-3.3.tar.gz | ||
| + | cd mod_wsgi-3.3 | ||
| + | ./configure && make && make install | ||
| + | ls / | ||
| + | ... mod_wsgi.so ... | ||
| + | |||
| + | easy_install trac | ||
| + | |||
| + | mkdir / | ||
| + | mkdir / | ||
| + | trac-admin / | ||
| + | You may now configure the environment by editing the file: | ||
| + | / | ||
| + | try running the Trac standalone web server `tracd`: | ||
| + | tracd --port 8000 / | ||
| + | # Browse http:// | ||
| + | Yep ! Ça roule | ||
| + | |||
| + | # / | ||
| + | < | ||
| + | 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:// | ||
| yum install babel trac | yum install babel trac | ||
| + | |||
| + | browse http:// | ||
| + | 500 Internal Server Error | ||
| + | | ||
| + | # / | ||
| + | # | ||
| + | PythonOption TracEnvParentDir / | ||
| + | |||
| + | browse http:// | ||
| + | Traceback (most recent call last): | ||
| + | ... | ||
| + | OSError: [Errno 2] No such file or directory: '/ | ||
informatique/issue_tracking_system/trac.1303315870.txt.gz · Dernière modification : (modification externe)
