summaryrefslogtreecommitdiff
blob: 1ed8fcf12cd5d646c4b6536ad70d923398356e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Install Instructions
====================

To complete the install, run this commands:

	trac-admin ${MY_HOSTROOT}/trac/<project-name> initenv

To add security, create a password database.  This command is for Apache 2;
adjust for the webserver of your choice.

	htpasswd2 -c ${MY_HOSTROOT}/trac.passwd <user>

Now, all you need to do is to configure your webserver.  This would go
into Apache's .htaccess file; adjust for the webserver of your choice.

	<Location "/cgi-bin/trac.cgi">
		SetEnv TRAC_ENV ${MY_HOSTROOT}/trac/<project-name>
	</Location>
	<Location "/cgi-bin/trac.cgi/login">
		AuthType Basic
		AuthName "trac"
		AuthUserFile ${MY_HOSTROOT}/trac.passwd
		Require valid-user
	</Location>

Upgrade Instructions
====================

If you are upgrading from 0.6.1, please follow the instructions here:

	http://projects.edgewall.com/trac/wiki/TracUpgrade

Note that the single .db file has been replaced by a directory, and that
the TRAC_DB environment variable has been renamed as TRAC_ENV.

Running Multiple Copies Of Trac
===============================

If you want to run multiple copies of trac on your website, please see Dju's
excellent instructions here:

	http://wiki.dju.elegiac.net/wiki/MultipleTracInstancesOnGentoo