Edgewall Software

Changes between Version 49 and Version 50 of TracOnFedoraCore


Ignore:
Timestamp:
Apr 27, 2006, 1:13:11 AM (18 years ago)
Author:
anonymous
Comment:

Add subversion and trac environment ownership commands

Legend:

Unmodified
Added
Removed
Modified
  • TracOnFedoraCore

    v49 v50  
    1010}}}
    1111
    12 Yum will take care of all dependencies on which the Trac package depends (including the python-clearsilver package) and will fetch and
    13 install them for you automatically.
     12Yum will take care of all dependencies on which the Trac package depends (including the python-clearsilver package) and will fetch and install them for you automatically.
    1413
    15142) Create a new project environment. An environment is basically a directory that contains a human-readable configuration file and various other files and directories.
    1615
    17 A new environment is created using [wiki:TracAdmin trac-admin], as in this example for project ''foobar'' in the new directory /var/trac:
     16Create a subverion repository if you don't already have one, for example in ''/var/svn'':
     17{{{
     18 $ sudo mkdir -p /var/svn
     19 $ sudo svnadmin create  --fs-type fsfs /var/svn
     20 $ sudo chown -R apache /var/svn
     21}}}
     22
     23Next you need to decide where to store your trac project and create the directory, for example in the new directory /var/trac:
    1824{{{
    1925 $ sudo mkdir -p  /var/trac
     26}}}
     27
     28Then create a new environment using [wiki:TracAdmin trac-admin], as in this example for project ''foobar''
     29{{{
    2030 $ sudo trac-admin /var/trac/foobar initenv
    2131}}}
    2232
    23 **Above two lines do not work after running "sudo yum install track" boz not able to create repository so if you follow the "10. Finalizing Installation (from 10 step of [wiki:TracOnRedhat redhat trac installation guide])" then follow the below steps.**
     33Now make it owned by apache:
     34{{{
     35 $ sudo chown -R apache /var/trac
     36 $ sudo chown -R apache /var/svn
     37}}}
    2438
    25393) Next, you need to edit the file ''/etc/httpd/conf.d/trac.conf'' to point to your new project