Edgewall Software

Changes between Version 23 and Version 24 of TracOnOpenBSD


Ignore:
Timestamp:
Jan 9, 2015, 8:24:53 PM (9 years ago)
Author:
Alex Holst <a@…>
Comment:

Remove obsolete installation comments that haven't been true for years

Legend:

Unmodified
Added
Removed
Modified
  • TracOnOpenBSD

    v23 v24  
    11= Installing Trac on OpenBSD =
    22
    3 Trac is in ports now, so simply install the package shipped with the OS:
     3Assuming you have a valid PKG_PATH in /etc/pkg.conf or your environment, simply install the package shipped with the OS:
    44
    55{{{
    6 $ export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/
    76$ sudo pkg_add trac
    87}}}
    98
    10 This will also install all dependencies, including the most appropriate Python port.
    11 
    12 Apache httpd 2.2 is also in the ports tree with a package available. If PKG_PATH is already set correctly, simply do:
     9Apache httpd 2.2 is also in the ports tree with a package available. Simply do:
    1310
    1411{{{
     
    1815[http://www.openbsd.org/cgi-bin/man.cgi?query=pkg_add pkg_add(1)] automatically installs any dependencies.
    1916
    20 == Manual Install Not Needed ==
    21 
    22 The OpenBSD project tweaks, packages and tests thousands of pieces of
    23 software in the ports tree for every release so you don't have to.
    24 Unless you specifically know why, you should just use packages instead
    25 of compiling from ports or, even worse, try to download tarballs and
    26 compile the programs yourself.
    27 
    28 == First-time setup ==
    29 
    30 === Create the Subversion repository ===
    31 {{{
    32 $ svnadmin create /var/svn
    33 }}}
    34 
    35 === Create the Trac project environment ===
    36 {{{
    37 $ trac-admin /var/trac initenv
    38 Creating a new Trac environment at /var/trac
    39 
    40 Trac will first ask a few questions about your environment
    41 in order to initalize and prepare the project database.
    42 
    43  Please enter the name of your project.
    44  This name will be used in page titles and descriptions.
    45 
    46 Project Name [My Project]> (Your project name)
    47 
    48  Please specify the absolute path to the project Subversion repository.
    49  Repository must be local, and trac-admin requires read+write
    50  permission to initialize the Trac database.
    51 
    52 Path to repository [/var/svn/test]> /var/svn
    53 
    54  Please enter location of Trac page templates.
    55  Default is the location of the site-wide templates installed with Trac.
    56 
    57 Templates directory [/usr/local/share/trac/templates]> (Just press enter here)
    58 Creating and Initializing Project
    59 (Output removed)
    60 Don't forget, you also need to copy (or symlink) "trac/cgi-bin/trac.cgi"
    61 to you web server's /cgi-bin/ directory, and then configure the server.
    62 cp /usr/local/share/trac/cgi-bin/trac.cgi /usr/local/apache2/cgi-bin
    63 
    64 If you're using Apache, this config example snippet might be helpful:
    65 
    66     Alias /trac "/var/www/users/trac/htdocs/"
    67     <Location "/cgi-bin/trac.cgi">
    68         SetEnv TRAC_ENV "/var/trac"
    69     </Location>
    70    
    71 $ chmod -R a+rw /var/svn/repo
    72 }}}