Edgewall Software

Changes between Version 31 and Version 32 of TracOnUbuntu


Ignore:
Timestamp:
Jan 18, 2006, 12:48:01 AM (18 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnUbuntu

    v31 v32  
    125125* Celebrate with beer.
    126126
     127=== mod_python Install ===
     128
     129The above instructions are for a CGI-based install. For a simple mod_python install, within your existing Virtual Host:
     130
     131{{{ apt-get install libapache2-mod-python }}}
     132
     133Follow steps 1 & 2 above. For step 3, here's simple config (this would go inside your existing Virtual Host definition). You also shouldn't have to do any of the other stuff in step 3.
     134
     135{{{
     136    <Location /trac>
     137        SetHandler mod_python
     138        PythonHandler trac.ModPythonHandler # For Breezy++ use: PythonHandler trac.web.modpython_frontend
     139        PythonOption TracEnv /var/trac
     140        PythonOption TracUriRoot "/trac"
     141    </Location>
     142}}}
     143
     144For more complex mod_python configs, see TracModPython
     145
     146Now, follow the Subversion setup instructions in Step 4 (just the Subversion setup - you don't have to do the rest). Next,
     147
     148{{{
     149sudo chown -R www-data /var/svn/YourProjectNameHere
     150sudo /etc/init.d/apache2 restart
     151}}}
     152
     153Then set up the Trac environment.
     154{{{
     155sudo mkdir /var/trac
     156sudo trac-admin /var/trac/YourProjectNameHere initenv
     157sudo chown -R www-data /var/trac/YourProjectNameHere
     158}}}
     159
     160Now, you should be able to access Trac at http://youserver.name/trac
     161
    127162== Problems ==
    128163