Changes between Initial Version and Version 1 of tracInstallation


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

--

Legend:

Unmodified
Added
Removed
Modified
  • tracInstallation

    v1 v1  
     1== Installation and Configuration of TRAC - standalone-server-configuration==
     2
     3 * See official site: http://trac.edgewall.org/wiki/TracStandalone
     4 
     5 * Get packages (//trac-admin// + standalone-server //tracd//)
     6  * Install //setuptools// via your packaging system (python - addon)
     7  * Install trac (here trac 0.12):
     8{{{
     9  $ easy_install Trac==0.12
     10}}}
     11  * easy_install should resolve all dependencies
     12  * see http://trac.edgewall.org/wiki/TracInstall#Usingeasy_install
     13 * Create the trac-directory containing
     14  * the configuration-file of this project (i.e. trac.ini)
     15  * the user-information (passwords + permissions)
     16  * the database for the wiki, tickets etc.
     17  * Therefore:
     18
     19 1. Init trac-environment
     20{{{
     21$ trac-admin /path/to/trac_dir/ initenv
     22}}}
     23   Choose Project Name, and local sqlite-database (I think also SQL and others are possible)
     24
     25 2. Create .htpasswd file in /path/to/trac_dir/:
     26{{{
     27$ htpasswd2 -c /path/to/trac_dir/.htpasswd username
     28}}}
     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):
     31{{{
     32$ trac-admin /path/to/trac_dir permission add username TRAC_ADMIN
     33}}}