Trac

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第39行: 第39行:
 
Trac uses the [[SWIG]] bindings included in the Subversion distribution, not PySVN
 
Trac uses the [[SWIG]] bindings included in the Subversion distribution, not PySVN
 
==Apache2==
 
==Apache2==
 
+
==MySQL==
 +
CREATE DATABASE trac DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
 +
mysql> USE trac;
 +
mysql> SHOW VARIABLES LIKE '%character%';
 +
CREATE USER tracuser IDENTIFIED BY 'password';
 +
GRANT ALL ON trac.* TO tracuser;
 +
The connection string will then be:
 +
mysql://tracuser:password@localhost/trac
 +
 
==相关项目==
 
==相关项目==
 
*[[Bitten]]
 
*[[Bitten]]

2008年4月1日 (二) 09:16的版本

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

目录

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

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

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%';
CREATE USER tracuser IDENTIFIED BY 'password';
GRANT ALL ON trac.* TO tracuser;

The connection string will then be:

mysql://tracuser:password@localhost/trac

相关项目

相关链接

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

变换
操作
导航
工具箱