Trac

聽了cookys 的話
就來裝個 trac 試試吧
trac 是一套整合 Subversion 版本管理系統的網頁介面專案管理系統

1.
安裝 /usr/ports/www/trac

2.
利用 trac-admin 指令建立專案
trac-admin /your/project/path initenv

下達指令後接續問你以下四個問題
(a)Project Name [My Project]>
(b)Database connection string [sqlite:db/trac.db]>
(c)Path to repository [/var/svn/test]>
(d)Templates directory [/usr/local/share/trac/templates]>

trac-admin 的指令用法可使用 trac-admin help 查詢

接著建立管理介面
trac 0.9.2 總共提供了 4 種介面溝通方式

a. TracStandalone
b. TracCgi (Cgi & FastCGI)
c. TracModPython

裡面都已經有蠻清楚的說明

在這裡我是用 CGI
將 /usr/local/share/trac/cgi-bin/trac.cgi 複製或連結到可以執行 CGI 的目錄裡
接著修改 Apache 的 httpd.conf 設定這個 trac.cgi?的 Alias
然後在這個 location 中設定環境變數如下

ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi

  SetEnv TRAC_ENV "/path/to/projectenv"
然後利用 svnadmin create /path/to/svn/repository 來建立 SVN 的資料庫

接著重新啟動 apache 便可開始使用

0 Responses to “Trac”


  1. 1 Jamesflima

    The day after the home of Eric Adams’s top fundraiser was raided the new leaders of the Working Families Party the coalition of progressive groups and labor unions sent around invites to a secret meeting in November 2023. tripscan The left could see a way to beat the mayor they hated. They just needed a plan. Gathered in the common room of an apartment building in Long Island City: city comptroller Brad Lander Brooklyn borough president Antonio Reynoso and state senator Jessica Ramos. Zellnor Myrie another state senator who ended up running was invited but didn’t come. Also sitting there: Zohran Mamdani. tripscan They were all surprised to see Mamdani there. “Zohran? Is Zohran thinking of running?” Working Families Party co-chair Ana Maria Archila who helped organize the meeting told CNN as the votes were coming in recalling the reactions that went around. трипскан сайт “I was like ‘I don’t know but I know he’s thinking about who should run’” Archila said. In that first meeting and several that followed the other potential candidates closer to launching kept their plans close to their vests but Mamdani was eagerly participating pitching and proposing ideas. Over coffees he kept saying they needed to find some candidate to run on freezing the rent. He built a platform and staff out of the Democratic Socialists of America. Last summer Mamdani told Archila he was jumping in. He wanted to combine what Rep. Alexandria Ocasio-Cortez and Brooklyn city councilman Chi Osse had done in breaking down traditional politics with compelling social media and a plan to knock on a million doors he said. He asked when the WFP would announce which candidate it would rank first on its primary slate and told her “Give me as much time to get there as possible.” трипскан https://tripscan50c.cc

Leave a Reply