4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacにTracをインストール

Last updated at Posted at 2013-09-01

Redmineを入れるよりよほど手軽に入れられます。
Tracの欠点は日本語でTrac内検索が貧弱な点。

インストール

$ sudo easy_install trac
$ mkdir $HOME/trac && cd $HOME/trac
$ trac-admin mac initenv
プロジェクト名、データ保管場所について入力が求められる。Enter押下でよい。

管理者権限作成

adminユーザーにTRAC_ADMIN権限付与
$ trac-admin $HOME/trac/mac permission add admin TRAC_ADMIN
  • id:pass = admin:adminでログインできるように、Digestファイル準備
$ cat > $HOME/trac/mac/trac.htdigest <<EOF
admin:tracd:d1d5105feef38ad528a53373c8e5d556
EOF

起動スクリプト

start_trac.sh
# !/bin/sh
PROJECT_PATH=$HOME/trac/mac
tracd \
 -a mac,$PROJECT_PATH/trac.htdigest,tracd \
 --port 8000 $PROJECT_PATH \
 -b localhost \
 -s \
 -d

起動

起動
$ sh start_trac_sh

http://localhost:8000 にアクセスすると利用できる。外からはアクセスできない。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?