trac是一个python写成的项目管理系统,集成wiki svn和bug跟踪子系统
官方介绍:
“Trac是基于web的软件项目管理和缺陷/事务追踪系统. 强调使用方便, 而不是其外在形式. 它提供了集成Wiki/版本控制系统界面, 以及更多方便的项目管理渠道, 来掌控项目的事件和变化.”
http://trac.edgewall.org/
安装:
easy_install Babel==0.9.5
easy_install Trac
apt-get install libsqlite3-dev
babel用于汉化trac,sqlite用作数据库,也可选择其他数据库
国际化(trac 汉化):
http://trac.edgewall.org/wiki/TracL10N
选择语言zh_CN
新建项目:
trac-admin /path/to/myproject initenv
会要求起名字,设置数据库类型
增加用户认证:
下载mini-httpd 以使用 htpasswd功能
sudo apt-get install mini-httpd
新建用户并设置密码:
sudo htpasswd -c /path/to/env/.htpasswd username
启动:
tracd -p 8080 --basic-auth="trac_pro,/home/shendaodao/trac_pro/.htpasswd,realmname" /home/shendaodao/trac_pro
多项目启动:
tracd -p 8080 --basic-auth="*,/home/shendaodao/trac/.htpasswd,ship" /home/shendaodao/trac/internship /home/shendaodao/trac/internship2
工程名称用*代替,path 使用创建的两个项目的路径