trac

1月 1, 2003 · Posted in trac · Comment 

tracとは。

Trac(トラック)は、ソフトウェアのプロジェクト管理とバグ追跡のための Web ベースのツール。Python により実装されている。
(Wikipedia)

trac/インストール

1月 1, 2003 · Posted in trac · Comment 

※trac 0.10.4
※Fedora 7

tracのインストール

yum install trac

ディレクトリの作成

cd /tmp/trac
trac-admin test initenv

プロジェクトの作成

Project Name [My Project]> sample
Database connection string [sqlite:db/trac.db]>
Repository type [svn]>
Path to repository [/path/to/repos]>
Templates directory [/usr/share/trac/templates]>
Congratulations!

プロジェクトの設定

Alias /tracproject/ "/usr/share/trac/htdocs/"
ScriptAlias /tracproject /var/www/cgi-bin/trac.cgi
<Location /tracproject>
SetEnv TRAC_ENV /tmp/trac/test
</Location>

apache再起動

/etc/rc.d/init.d/httpd restart

アクセス

http://localhost/tracproject/

エラーがでた

Internal Error

The user apache requires read _and_ write permission
to the database file /tmp/trac/test/db/trac.db and
the directory it is located in.

ファイル・ディレクトリの所有権変更

chown -R apache /tmp/trac

アクセス

http://localhost/tracproject/