Changes between Version 1 and Version 2 of tracInstallation


Ignore:
Timestamp:
Jun 29, 2010 2:16:51 PM (15 years ago)
Author:
lotz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tracInstallation

    v1 v2  
    77  * Install trac (here trac 0.12):
    88{{{
    9   $ easy_install Trac==0.12
     9server$ easy_install Trac==0.12
    1010}}}
    1111  * easy_install should resolve all dependencies
     
    1919 1. Init trac-environment
    2020{{{
    21 $ trac-admin /path/to/trac_dir/ initenv
     21server$ trac-admin /path/to/trac_dir/ initenv
    2222}}}
    2323   Choose Project Name, and local sqlite-database (I think also SQL and others are possible)
     
    2525 2. Create .htpasswd file in /path/to/trac_dir/:
    2626{{{
    27 $ htpasswd2 -c /path/to/trac_dir/.htpasswd username
     27server$ htpasswd2 -c /path/to/trac_dir/.htpasswd username
    2828}}}
    2929   You are prompted for a password. To use the svn-users with trac, a small script can update the trac-user-information from the svn-passwd-file (see below).
    30  3. Add admin-permissions for //username// (necessary for availability of //Admin//-tab in the web-interface (see http://trac.edgewall.org/wiki/TracPermissions#GraphicalAdminTab):
     30 3. Add admin-permissions for //username// -- necessary for availability of //Admin//-tab in the web-interface (see http://trac.edgewall.org/wiki/TracPermissions#GraphicalAdminTab):
    3131{{{
    32 $ trac-admin /path/to/trac_dir permission add username TRAC_ADMIN
     32server$ trac-admin /path/to/trac_dir permission add username TRAC_ADMIN
    3333}}}
     34 4. Start trac-deamon //tracd// on your machine on port 8000 with .htpasswd as authentication-file:
     35{{{
     36server$ tracd --port 8000 --basic-auth=*,/path/to/trac_dir/.htpasswd,realm /path/to/trac_dir
     37}}}
     38  //realm// is an arbitrary name.
     39
     40 5. Run your web-browser to the following location:
     41{{{
     42server:8000
     43}}}