Trac

来自开放百科 - 灰狐
2017年8月22日 (二) 02:25Allen (讨论 | 贡献)的版本

跳转到: 导航, 搜索
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Trac Thanks, Wikipedia.
Trac logo.png

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

目录

安装

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 SilverCity-0.9.7

 ./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

项目

用户

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱