Edgewall Software

Changes between Version 2 and Version 3 of TracInstall


Ignore:
Timestamp:
Jan 18, 2004, 11:42:35 PM (20 years ago)
Author:
Jonas Borgström
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v2 v3  
    2828A new trac database can be created like this:
    2929
    30  {{{$ trac_admin /path/to/mydatabase.db initdb}}}
     30 {{{$ trac_admin.py /path/to/mydatabase.db initdb}}}
    3131
    3232NOTE: The database file have to be located in a directory where the webserver
     
    3737command will display the trac configuration:
    3838
    39  {{{$ trac_admin /path/to/mydatabase.db config list}}}
     39 {{{$ trac_admin.py /path/to/mydatabase.db config list}}}
    4040
    4141Most settings should be okey, but you have to verify that these settings
     
    4646A config value is modified like this:
    4747
    48  {{{$ trac_admin /path/to/mydatabase.db config set <name> <value>}}}
     48 {{{$ trac_admin.py /path/to/mydatabase.db config set <name> <value>}}}
    4949
    5050== Configuring Apache ==
    5151
    52 FIXME
     52copy "{{{trac/cgi-bin/trac.cgi}}}" and "{{{trac/cgi-bin/trac_auth.cgi}}}" to
     53you webservers {{{/cgi-bin/}}} directory. Of course you can configure apache
     54to use the "{{{trac/cgi-bin/}}}" directory directly if you like.
    5355
     56Finally adjust the filenames and add this config snippet to your webserver:
     57 
     58{{{
     59Alias /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
     75Enjoy!
    5476
    5577--------------------------