User Tools

Site Tools


trac_on_sdf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
trac_on_sdf [2021/03/15 06:31] – added 'traditional link" added a FIXME and a link outside peteyboytrac_on_sdf [2021/03/18 16:38] – added note that this info is not currently valid peteyboy
Line 1: Line 1:
 ====== Trac on SDF ====== ====== Trac on SDF ======
 +
 +
 +//**This is currently NOT UP-TO-DATE info at SDF as Trac is not currently installed properly **//
  
 This tutorial discusses how to install [[http://trac.edgewall.org/|Trac]], in the words of its creators a minimalistic approach to web-based management of software projects. This tutorial discusses how to install [[http://trac.edgewall.org/|Trac]], in the words of its creators a minimalistic approach to web-based management of software projects.
Line 38: Line 41:
 ==== Using the standalone server "tracd" ==== ==== Using the standalone server "tracd" ====
  
-This is by far the least painful, but requires the MetaARPA membership because //tracd// opens a port on the machine. +This is by far the least painful, but requires the MetaARPA membership because //tracd// opens a port on the machine. After you determine your [[meta port allocation]], note down the //uid// number that is output as part of the ''uid -u'' command. This will be your port number (to avoid conflicts between users) and will be referred to as //<PORT>// from here on.
- +
-Firstrun the command +
- +
-  id -u +
- +
-and note down the number that is printed on the terminal. This will be your port number (to avoid conflicts between users) and will be referred to as //<PORT>// from here on.+
  
 Next, run the command Next, run the command
Line 50: Line 47:
   tracd --port <PORT> /path/to/trac   tracd --port <PORT> /path/to/trac
  
-You will now be able to connect to your Trac instance with your Browser of Choice™ at http://sverige.freeshell.org:<PORT>/trac+You will now be able to connect to your Trac instance with your Browser of Choice™ at ''<nowiki>http://sverige.freeshell.org:<PORT>/trac</nowiki>''
  
 ==== Running Trac as CGI within Apache ==== ==== Running Trac as CGI within Apache ====
Line 58: Line 55:
 Copy ''trac.cgi'' into your ''html/'' directory: Copy ''trac.cgi'' into your ''html/'' directory:
  
-  cp /usr/pkg/share/trac/cgi-bin/trac.cgi html/+  cp /usr/pkg/share/examples/trac/cgi-bin/trac.cgi html/
  
 and fix the permissions using ''mkhomepg -p''. Add the following lines to //trac.cgi// just after the comments: and fix the permissions using ''mkhomepg -p''. Add the following lines to //trac.cgi// just after the comments:
trac_on_sdf.txt · Last modified: 2021/04/04 03:33 by hc9