sqlite-3_3_11.zip 數(shù)據(jù)庫,解開是一個EXE http://www.sqlite.org/download.html
clearsilver-0.9.14.win32-py2.4.exe 顯示頁面的模板文件這個目前沒2.5的版本。所以嘛…… (Linux版本應(yīng)該更高點) http://www.clearsilver.net/
trac-0.10.3.win32.exe 目前的最新版本
svn-python-1.4.2.win32-py2.4.exe 這個是訪問svn的程序包,就是Subversion的python接口。
svn-1.4.2-setup.exe
SVNService.exe 可以把SVN設(shè)置成服務(wù)
客戶端
TortoiseSVN-1.4.1.7992-win32-svn-1.4.2.msi 新版本,還可以下一個語言包,都在subversion的官方能下到。
二 安裝程序
接下來,安裝。WINDOWS下安裝還是都會的不講了。路徑自己設(shè)置,我這里說明下路徑是為了更好理解下面用到的命令
先裝python C:\python (其他的都會自動識別,所以這個必須先裝)
pysqlite 自動根據(jù)python路徑默認
clearsilver 同上
SVN E:\Subversion
svn-python 默認
Trac 自動根據(jù)python路徑默認C:\Python24\share\trac
三 設(shè)置環(huán)境
先設(shè)置SVN的源碼庫,因為裝了SVN,環(huán)境變量已經(jīng)有了,直接輸入即可。

輸入C:\>svnadmin create e:\repository\project
E盤建立了一個repository文件夾,作為SVN源碼庫,下面建立了project這個項目的源碼管理
我在E盤建立一個Trac文件夾,切換到python目錄
輸入 C:\Python24>python trac-admin e:\trac\project initenv
建立了trac的環(huán)境
然后就要求輸入項目名字,我輸入了myproject。

這個是詢問數(shù)據(jù)庫連接類型,我們用的sqlite默認就可以了。直接回車
接下來是
Please specify the type of version control system,
By default, it will be svn.
If you don't want to use Trac with version control integration,
choose the default here and don't specify a repository directory.
in the next question.
Repository type [svn]>
詢問版本庫類型,也是默認SVN,回車
Please specify the absolute path to the version control
repository, or leave it blank to use Trac without a repository.
You can also set the repository location later.
Path to repository [/path/to/repos]> e:/repository/project
詢問源碼庫位置,這個就是剛才SVN里建立了這個項目的源碼庫,輸入即可?;剀?br>
Please enter location of Trac page templates.
Default is the location of the site-wide templates installed with Trac.
Templates directory [C:\Python24\share\trac\templates]>
詢問模板路徑,這個默認?;剀?br>
接下來就是自動生成一系列模板
最后顯示Congratulations!
然后輸入:
C:\Python24>python scripts/tracd --port 8080 e:/trac/project
這個窗口就不能關(guān)閉了。
現(xiàn)在可以訪問8080端口。

大功搞成?。?!
安裝前如果弄清楚這些文件相互關(guān)系,并找對版本,就成功了80%。第一次安裝,經(jīng)驗不足,寫的欠缺的地方,請大家指出。我也納悶, sqlite-3_3_11.zip解開的EXE不是安裝文件,在安裝時沒有用到,就默認了這個數(shù)據(jù)庫而已。估計接下來配置的時候要用到。