欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Trac
来自开放百科 - 灰狐
(版本间的差异)
第18行: | 第18行: | ||
make | make | ||
make install | make install | ||
+ | CentOS 5 | ||
+ | /usr/local/bin/easy_install | ||
+ | /usr/local/bin/easy_install-2.5 | ||
+ | |||
===Python 2.4=== | ===Python 2.4=== | ||
* Python, version >= 2.3. | * Python, version >= 2.3. | ||
第26行: | 第30行: | ||
* [[ClearSilver]], version >= 0.9.3 (0.9.14 recommended) | * [[ClearSilver]], version >= 0.9.3 (0.9.14 recommended) | ||
* A web server capable of executing CGI/FastCGI scripts, or Apache HTTPD with mod_python. (Trac also comes with a standalone server, but its use is not recommended for use in a production environment.) | * A web server capable of executing CGI/FastCGI scripts, or Apache HTTPD with mod_python. (Trac also comes with a standalone server, but its use is not recommended for use in a production environment.) | ||
+ | |||
+ | CentOS 5 | ||
+ | /usr/bin/easy_install | ||
+ | /usr/bin/easy_install-2.4 | ||
+ | |||
===Debian=== | ===Debian=== | ||
# apt-get install python-xml | # apt-get install python-xml |
2008年4月1日 (二) 10:06的版本
Trac is an enhanced wiki and issue tracking system for software development projects.
Trac is licensed under the modified BSD license.
Online Demo: http://www.hosted-projects.com/trac/TracDemo/Demo
目录 |
Install
wget http://ftp.edgewall.com/pub/trac/trac-0.10.3.1.tar.gz
Python 2.5
make sure you have Python-2.5, easy_install and SQlite-3.3.4 installed
sudo easy_install Pygments sudo easy_install Genshi sudo easy_install Trac
Install clearsilver
./configure --with-python=/opt/trac-0.10.4-4/python/lib/python2.5 --with-apache=/opt/trac-0.10.4-4/apache2 make make install
CentOS 5
/usr/local/bin/easy_install /usr/local/bin/easy_install-2.5
Python 2.4
- Python, version >= 2.3.
+ Please keep in mind, that for RPM-based systems you will also need python-dev and python-xml packages.
- Subversion, version >= 1.0. (>= 1.1.x recommended)
- Subversion SWIG Python bindings (not PySVN).
- PySQLite, version 1.x (for SQLite 2.x) or version 2.x (for SQLite 3.x)
- ClearSilver, version >= 0.9.3 (0.9.14 recommended)
- A web server capable of executing CGI/FastCGI scripts, or Apache HTTPD with mod_python. (Trac also comes with a standalone server, but its use is not recommended for use in a production environment.)
CentOS 5
/usr/bin/easy_install /usr/bin/easy_install-2.4
Debian
# apt-get install python-xml # apt-get install python-dev # apt-get install subversion # apt-get install python-sqlite # apt-get install python-clearsilver # apt-get install apache2 # apt-get install libapache2-mod-python
# python setup.py install Thank you for choosing Trac 0.10.3.1. Enjoy your stay! :)
$ trac-admin /home/allen/trac initenv $ tracd --port 8000 /home/allen/trac http://localhost:8000 ok:) //
Trac uses the SWIG bindings included in the Subversion distribution, not PySVN
Apache2
MySQL
CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; mysql> USE trac; mysql> SHOW VARIABLES LIKE '%character%'; mysql>GRANT ALL PRIVILEGES ON trac.* TO tracuser@localhost IDENTIFIED BY 'tracuser'; mysql>flush privileges;
The connection string will then be:
mysql://tracuser:tracuser@localhost/trac
相关项目
相关链接
分享您的观点