專案管理工具 Trac入門
阿新 • • 發佈:2022-05-05
trac是一個python寫成的專案管理系統,整合wiki svn和bug跟蹤子系統
官方介紹:
“Trac是基於web的軟體專案管理和缺陷/事務追蹤系統. 強調使用方便, 而不是其外在形式. 它提供了整合Wiki/版本控制系統介面, 以及更多方便的專案管理渠道, 來掌控專案的事件和變化.”
http://trac.edgewall.org/
安裝:
easy_install Babel==0.9.5
easy_install Trac
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 使用建立的兩個專案的路徑