Changes between Version 2 and Version 3 of TracInstall
- Timestamp:
- Jan 18, 2004, 11:42:35 PM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v2 v3 28 28 A new trac database can be created like this: 29 29 30 {{{$ trac_admin /path/to/mydatabase.db initdb}}}30 {{{$ trac_admin.py /path/to/mydatabase.db initdb}}} 31 31 32 32 NOTE: The database file have to be located in a directory where the webserver … … 37 37 command will display the trac configuration: 38 38 39 {{{$ trac_admin /path/to/mydatabase.db config list}}}39 {{{$ trac_admin.py /path/to/mydatabase.db config list}}} 40 40 41 41 Most settings should be okey, but you have to verify that these settings … … 46 46 A config value is modified like this: 47 47 48 {{{$ trac_admin /path/to/mydatabase.db config set <name> <value>}}}48 {{{$ trac_admin.py /path/to/mydatabase.db config set <name> <value>}}} 49 49 50 50 == Configuring Apache == 51 51 52 FIXME 52 copy "{{{trac/cgi-bin/trac.cgi}}}" and "{{{trac/cgi-bin/trac_auth.cgi}}}" to 53 you webservers {{{/cgi-bin/}}} directory. Of course you can configure apache 54 to use the "{{{trac/cgi-bin/}}}" directory directly if you like. 53 55 56 Finally adjust the filenames and add this config snippet to your webserver: 57 58 {{{ 59 Alias /trac/ "/where/you/put/trac/htdocs/" 60 # Trac need to know where the database is located 61 <Location "/cgi-bin/"> 62 SetEnv TRAC_DB "/somewhere/myproject.db" 63 </Location> 64 65 # Uncomment this to let users authenticate 66 <Location "/cgi-bin/trac_auth.cgi"> 67 AuthType Basic 68 AuthName "trac" 69 AuthUserFile /somewhere/trac.htpasswd 70 Require valid-user 71 </location> 72 73 }}} 74 75 Enjoy! 54 76 55 77 --------------------------