Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site, or you can call me AlanSung

Hi! I’m clsung RSS Feed
 
 
 
 

[Note] svn + trac 備忘錄

快速設定:

  1. 設定 subversion (svnadmin create…), say path is
    /var/svn/yasa
  2. 設定 trac, say path is
    % trac-admin /home/trac/yasa initenv
  3. 填有的沒有的 (under trac-admin)
  4. 在 Path to repository [/path/to/repos]> 中填入 /var/svn/yasa (第一步中 svn repo 的目錄)
  5. 這步也許你不用,但我要:
    chmod -R www:www /home/trac/yasa

可能會遇到的錯誤是如 repository not found…之類的,解法是:

  • 編輯你的 conf/trac.ini ,修正裡面的
    repository_dir = /var/svn/yasa
  • 要 re-sync 一下:
    % trac-admin /home/trac/yasa resync

Technorati Tags: , , , ,

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn

Leave a Reply

噗浪:

  • No public Plurk messages.

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr

Blogroll

    馬的警總回來了
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan