Changes between Version 1 and Version 2 of tracInstallation
- Timestamp:
- Jun 29, 2010 2:16:51 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tracInstallation
v1 v2 7 7 * Install trac (here trac 0.12): 8 8 {{{ 9 9 server$ easy_install Trac==0.12 10 10 }}} 11 11 * easy_install should resolve all dependencies … … 19 19 1. Init trac-environment 20 20 {{{ 21 $ trac-admin /path/to/trac_dir/ initenv21 server$ trac-admin /path/to/trac_dir/ initenv 22 22 }}} 23 23 Choose Project Name, and local sqlite-database (I think also SQL and others are possible) … … 25 25 2. Create .htpasswd file in /path/to/trac_dir/: 26 26 {{{ 27 $ htpasswd2 -c /path/to/trac_dir/.htpasswd username27 server$ htpasswd2 -c /path/to/trac_dir/.htpasswd username 28 28 }}} 29 29 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): 31 31 {{{ 32 $ trac-admin /path/to/trac_dir permission add username TRAC_ADMIN32 server$ trac-admin /path/to/trac_dir permission add username TRAC_ADMIN 33 33 }}} 34 4. Start trac-deamon //tracd// on your machine on port 8000 with .htpasswd as authentication-file: 35 {{{ 36 server$ 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 {{{ 42 server:8000 43 }}}