Edgewall Software

Changes between Version 20 and Version 21 of TracTroubleshooting


Ignore:
Timestamp:
May 15, 2017, 7:58:42 AM (3 years ago)
Author:
Ryan J Ollos
Comment:

Remove obsolete info about running trac standalone.

Legend:

Unmodified
Added
Removed
Modified
  • TracTroubleshooting

    v20 v21  
    6969TracStandalone is the indispensable companion whether you intend to develop or debug Trac. In particular, check out the `-r` (auto-reload) feature, which will make Trac notice any change to one of its source file and restart automatically. You can therefore see Trac react immediately to your code changes, provided you don't have syntax errors outside of a method.
    7070
    71 In this setup, you're free to try out modification, dump additional information to the log or insert direct `print` statements; an ugly but effective way of debugging.
     71In this setup, you're free to try out modifications, dump additional information to the log or insert direct `print` statements; an ugly but effective way of debugging.
    7272
    73 It may even be possible to run `tracd` with a debugger, but not explored here.
     73It may even be possible to run `tracd` with a debugger, but that is not explored here.
    7474
    7575Best is to start from a [TracSubversion checkout] of the pristine source code you're interested to debug or develop for.
    7676Then, you can run the standalone server by doing:
    7777{{{#!sh
    78 $ python scripts/tracd <options>
     78$ tracd <options>
    7979}}}
    8080
    81 If you're using [source:trunk] (Trac [milestone:0.11]dev), since the SetupTools integrations, you'll have to run the standalone module directly:
     81Note that the very first time in a fresh working copy, you'll have to install the code in develop mode:
    8282{{{#!sh
    83 $ python trac/web/standalone.py <options>
    84 }}}
    85 
    86 Note that the very first time in a fresh working copy, you'll have to at least initialize the ''Trac.egg-info'' folder, by doing:
    87 {{{#!sh
    88 $ python setup.py egg_info
     83$ python setup.py develop
    8984}}}
    9085