Trac

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(用户)
 
(未显示1个用户的28个中间版本)
第1行: 第1行:
 +
{{SeeWikipedia}}
 +
 
[[Image:Trac_logo.png|right]]
 
[[Image:Trac_logo.png|right]]
  
==Install==
+
Trac is an enhanced wiki and issue tracking system for software development projects.
 +
 
 +
[http://trac.edgewall.org/wiki/TracLicense 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
 
  wget http://ftp.edgewall.com/pub/trac/trac-0.10.3.1.tar.gz
===Requirements===
+
===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.
 
* Python, version >= 2.3.
 
   + Please keep in mind, that for RPM-based systems you will also need python-dev and python-xml packages.
 
   + Please keep in mind, that for RPM-based systems you will also need python-dev and python-xml packages.
第9行: 第31行:
 
* Subversion SWIG Python bindings (not PySVN).
 
* Subversion SWIG Python bindings (not PySVN).
 
* PySQLite, version 1.x (for SQLite 2.x) or version 2.x (for SQLite 3.x)
 
* 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)  
+
* [[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,  
+
* 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.)
  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
 
  # apt-get install python-dev
 
  # apt-get install python-dev
 
  # apt-get install subversion
 
  # 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
 +
 +
==项目==
 +
*[[Bitten]]
 +
 
 +
==用户==
 +
*[https://core.trac.wordpress.org/ WordPress Trac] [[WordPress]]
 +
*[https://trac.macports.org/ MacPorts]
 +
*http://www.mmoworkshop.com
 +
*http://www.sqlite.org/cvstrac/
 +
 
 +
==链接==
 
*http://trac.edgewall.org/
 
*http://trac.edgewall.org/
 +
*http://docs.huihoo.com/trac
 +
*http://download.huihoo.com/trac
 
*下载 http://trac.edgewall.org/wiki/TracDownload
 
*下载 http://trac.edgewall.org/wiki/TracDownload
 +
*[https://trac.edgewall.org/wiki/TranslationZh_CN/TracGuide Trac用户与管理员指南]
  
[[Category:Python software]]
+
[[category:collaborative software]]
 +
[[category:project management]]
 +
[[category:python]]
 +
[[category:huihoo]]

2020年12月31日 (四) 03:02的最后版本

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

[编辑] 项目

[编辑] 用户

[编辑] 链接

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

变换
操作
导航
工具箱