Changes between Version 4 and Version 5 of TracStandalone
- Timestamp:
- 13/04/2010 13:24:08 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracStandalone
v4 v5 8 8 * Fast: Should be almost as fast as the [wiki:TracModPython mod_python] version (and much faster than the [wiki:TracCgi CGI]). 9 9 * 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` 10 11 11 12 == Cons == … … 65 66 66 67 {{{ 67 sudo htpasswd -c /path/to/env/.htpasswd username68 $ sudo htpasswd -c /path/to/env/.htpasswd username 68 69 }}} 69 70 then for additional users: 70 71 {{{ 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 }}} 74 then 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 }}} 78 78 79 79 Tracd 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.) … … 81 81 ''Support for Basic authentication was added in version 0.9.'' 82 82 83 The general format for using authentication is :83 The general format for using authentication is (on windows skip the "=" after --auth): 84 84 85 85 {{{ … … 94 94 * '''project_path''' path of the project 95 95 96 Example :96 Example (on windows skip the "=" after --auth): 97 97 98 98 {{{ … … 162 162 163 163 {{{ 164 python trac-digest.py -u username -p password >> c:\digest.txt165 tracd --port 8000 --auth=proj_name,c:\digest.txt,trac c:\path\to\proj_name164 $ 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 166 166 }}} 167 167 … … 190 190 in the Wiki: `[/<project_name>/chrome/site/software-0.1.tar.gz]` 191 191 192 The development version ofTrac supports a new `htdocs:` TracLinks192 Since 0.10, Trac supports a new `htdocs:` TracLinks 193 193 syntax for the above. With this, the example link above can be written simply 194 194 `htdocs:software-0.1.tar.gz`.