39
|
1 Trac in stand-alone mode
|
|
2 ========================
|
|
3
|
|
4 Trac 0.7 introduced among many other important features, the capability to run
|
|
5 Trac as a stand-alone server (daemon), without a web server.
|
|
6
|
|
7 Tracd supports all features of the CGI version (trac.cgi),
|
|
8 and can serve multiple projects from a single server instance.
|
|
9
|
|
10 Running tracd
|
|
11 -------------
|
|
12
|
|
13 tracd [options] <database> [database] ...
|
|
14
|
|
15 Options:
|
|
16
|
|
17 -a, --auth <project,htdigest_file,realm> Per-project authentication information
|
|
18 -p, --port <port> Port number to use (default: 80)
|
|
19 -b, --hostname <hostname> IP to bind to (default: '')
|
|
20
|
|
21
|
|
22 Example 1: Single Project (non-authenticated)
|
|
23 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
24
|
|
25 $ tracd -p 9090 /var/trac/myproject
|
|
26
|
|
27 Example 2: Multiple Projects (authenticated)
|
|
28 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
29
|
|
30 $ tracd -p 9090 \
|
|
31 -a projectA,/var/trac/htdigest.ALPHA,ALPHA \
|
|
32 -a projectB,/var/trac/htdigest.ALPHA,ALPHA \
|
|
33 /var/trac/projectA \
|
|
34 /var/trac/projectB
|
|
35
|
|
36 The file ``htdigest.ALPHA`` can be generated using the Apache2 tool ``htdigest``
|
|
37 (be carefull *NOT* to use ``htpasswd`` here).
|
|
38
|
|
39 Feedback and bug reports
|
|
40 ------------------------
|
|
41
|
|
42 Please provide feedback on tracd using the issue tracker or the mailing list.
|
|
43
|
|
44 Submit a bug report: http://projects.edgewall.com/trac/newticket?component=tracd
|
|
45 Mailing list info: http://projects.edgewall.com/trac/wiki/MailingList
|
|
46
|
|
47
|
|
48 Thanks,
|
|
49
|
|
50 /The Trac Team (http://trac.edgewall.com/) |