Changes between Version 4 and Version 5 of TracStandalone


Ignore:
Timestamp:
13/04/2010 13:24:08 (15 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracStandalone

    v4 v5  
    88 * Fast: Should be almost as fast as the [wiki:TracModPython mod_python] version (and much faster than the [wiki:TracCgi CGI]).
    99 * Automatic reloading: For development, Tracd can be used in ''auto_reload'' mode, which will automatically restart the server whenever you make a change to the code (in Trac itself or in a plugin).
     10  * Options for tracd: `-r, --auto-reload`
    1011
    1112== Cons ==
     
    6566
    6667{{{
    67 sudo htpasswd -c /path/to/env/.htpasswd username
     68 $ sudo htpasswd -c /path/to/env/.htpasswd username
    6869}}}
    6970then for additional users:
    7071{{{
    71 sudo htpasswd /path/to/env/.htpasswd username2
    72 }}}
    73 then for starting the tracd:
    74 {{{
    75 tracd -p 8080 --basic-auth=environmentname,/fullpath/environmentname/.htpasswd,/fullpath/environmentname /fullpath/environmentname
    76 }}}
    77 
     72 $ sudo htpasswd /path/to/env/.htpasswd username2
     73}}}
     74then for starting the tracd (on windows skip the "=" after --basic-auth):
     75{{{
     76 $ tracd -p 8080 --basic-auth=environmentname,/fullpath/environmentname/.htpasswd,/fullpath/environmentname /fullpath/environmentname
     77}}}
    7878
    7979Tracd provides support for both Basic and Digest authentication. The default is to use Digest; to use Basic authentication, replace `--auth` with `--basic-auth` in the examples below. (You must still specify a dialogic "realm", which can be an empty string by trailing the BASICAUTH with a comma.)
     
    8181  ''Support for Basic authentication was added in version 0.9.''
    8282
    83 The general format for using authentication is:
     83The general format for using authentication is (on windows skip the "=" after --auth):
    8484
    8585{{{
     
    9494 * '''project_path''' path of the project
    9595
    96 Example:
     96Example (on windows skip the "=" after --auth):
    9797
    9898{{{
     
    162162
    163163{{{
    164 python trac-digest.py -u username -p password >> c:\digest.txt
    165 tracd --port 8000 --auth=proj_name,c:\digest.txt,trac c:\path\to\proj_name
     164 $ python trac-digest.py -u username -p password >> c:\digest.txt
     165 $ tracd --port 8000 --auth=proj_name,c:\digest.txt,trac c:\path\to\proj_name
    166166}}}
    167167
     
    190190in the Wiki: `[/<project_name>/chrome/site/software-0.1.tar.gz]`
    191191
    192 The development version of Trac supports a new `htdocs:` TracLinks
     192Since 0.10, Trac supports a new `htdocs:` TracLinks
    193193syntax for the above. With this, the example link above can be written simply
    194194`htdocs:software-0.1.tar.gz`.