Trac

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(用户)
 
(未显示1个用户的19个中间版本)
第1行: 第1行:
 +
{{SeeWikipedia}}
 +
 
[[Image:Trac_logo.png|right]]
 
[[Image:Trac_logo.png|right]]
 +
 
Trac is an enhanced wiki and issue tracking system for software development projects.  
 
Trac is an enhanced wiki and issue tracking system for software development projects.  
  
第6行: 第9行:
 
Online Demo: http://www.hosted-projects.com/trac/TracDemo/Demo
 
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
 
  wget http://ftp.edgewall.com/pub/trac/trac-0.10.3.1.tar.gz
===Python 2.5==
+
===Python 2.5===
 
make sure you have Python-2.5, easy_install and SQlite-3.3.4 installed  
 
make sure you have Python-2.5, easy_install and SQlite-3.3.4 installed  
 
  sudo easy_install Pygments
 
  sudo easy_install Pygments
 
  sudo easy_install Genshi
 
  sudo easy_install Genshi
 
  sudo easy_install Trac
 
  sudo easy_install Trac
===Requirements===
+
 
 +
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.
第21行: 第33行:
 
* [[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
 
  # apt-get install python-dev
 
  # apt-get install python-dev
 
  # apt-get install subversion
 
  # apt-get install subversion
# apt-get install python-svn
 
 
  # apt-get install python-sqlite
 
  # apt-get install python-sqlite
 
  # apt-get install python-clearsilver
 
  # apt-get install python-clearsilver
第36行: 第52行:
 
  $ trac-admin /home/allen/trac initenv  
 
  $ trac-admin /home/allen/trac initenv  
 
  $ tracd --port 8000 /home/allen/trac
 
  $ tracd --port 8000 /home/allen/trac
  http://localhost:8000 ok:)
+
  http://localhost:8000 ok:) //
==Apache2==
+
  
==相关项目==
+
Trac uses the [[SWIG]] bindings included in the Subversion distribution, not PySVN
*[[Bitten]]
+
==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://docs.huihoo.com/trac
 
*http://download.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

[编辑] 项目

[编辑] 用户

[编辑] 链接

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

变换
操作
导航
工具箱