Edgewall Software

Changes between Version 14 and Version 15 of TracInstall


Ignore:
Timestamp:
Mar 23, 2004, 8:43:55 AM (20 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v14 v15  
    33The Trac web-based project management tool is implemented as a server
    44side cgi-program. Trac is written in the Python programming language
    5 and store it's data in a sqlite database.
     5and uses SQLite as an embedded database. For HTML rendering, Trac uses the Clearsilver template system.
    66
    7 == Dependencies ==
    87
    9 The following dependencies have to be installed:
     8== Prerequisites ==
     9
     10To install Trac, the following software packages must be installed:
    1011
    1112 * [http://www.python.org/ Python], version >= 2.1.
    12  * [http://subversion.tigris.org/ subversion], version >= 0.37.
     13 * [http://subversion.tigris.org/ Subversion], version >= 0.37. (>=1.0.1 recommended)
     14 * [http://subversion.tigris.org/ Subversion Python bindings].
    1315 * [http://pysqlite.sf.net/ pysqlite], version >= 0.4.3 (>= 0.5 for better performance)
    14  * [http://clearsilver.net/ ClearSilver], version >= 0.9.3
    15  * A CGI-capable web server (only tested with Apache)
     16 * [http://clearsilver.net/ Clearsilver], version >= 0.9.3
     17 * A CGI-capable web server (we QA-test on [http://httpd.apache.org/ Apache2] )
    1618
    1719== Installing Trac ==
     
    2123
    2224This will byte-compile the python source code and install it in the {{{site-packages}}} directory
    23 of your python installation. The directories {{{templates}}}, {{{htdocs}}} and {{{wiki-default}}}
    24 will be copied into $prefix/share/trac/ .
     25of your python installation. The directories {{{cgi-bin}}}, {{{templates}}}, {{{htdocs}}} and {{{wiki-default}}} are all copied to $prefix/share/trac/ .
    2526
    26 == Initializing the database ==
     27The script will also install the [wiki:TracAdmin trac-admin] command-line tool, used to create and maintain project databases. Trac-admin is the ''command center'' of Trac.
    2728
    28 Trac stores wiki pages, tickets and other information in a sqlite database.
    29 Sqlite databases are just ordinary files on the hard drive, no database server
    30 is required.
     29=== Advanced Users ===
     30To install Trac in a different location, and other advanced installation options, run:
     31{{{
     32$ python ./setup.py --help
     33}}}
    3134
    32 A new trac database can be created like this:
     35== Creating a Project Database ==
     36
     37Trac stores wiki pages, tickets and all other information in a single embedded SQLite database.
     38SQLite databases are stored as a single ordinary file on your filesystem, no separate database server
     39or environment is required.
     40
     41A new trac database is created with {{{trac-admin}}}:
    3342
    3443{{{
    3544$ trac-admin /path/to/mydatabase.db initdb
    3645}}}
    37 
    38 NOTE: The database file have to be located in a directory where the web server
     46'''Note:''' The database file have to be located in a directory where the web server
    3947user has write permission to both the file and the directory.
    4048
     
    4452== Configuring Apache ==
    4553
    46 copy (or symlink) "{{{trac/cgi-bin/trac.cgi}}}" to
    47 you web servers {{{/cgi-bin/}}} directory. Of course you can configure apache
    48 to use the "{{{trac/cgi-bin/}}}" directory directly if you like.
     54Copy (or symlink) "{{{trac/cgi-bin/trac.cgi}}}" to
     55you web servers {{{/cgi-bin/}}} directory. You can also configure apache
     56to use the "{{{trac/cgi-bin/}}}" directory directly if you like, it's a matter of taste.
    4957
    50 Finally adjust the filenames and add this config snippet to your web server:
     58Finally edit the apache config and add this config snippet, with filenams edited to match your installation:
    5159 
    5260{{{
     
    6674}}}
    6775
    68 == What next? ==
     76'''Note:''' When creating a new database, {{{trac-admin}}} will print a config snippet customized for your project.
     77
     78== Using Trac ==
    6979
    7080You should now have a working Trac installation at:
     
    7383
    7484There you should be able to browse your subversion repository, create tickets,
    75 view the timeline etc. Keep in mind that anonymous users (before logging in)
    76 are only able to see/use a subset of all the features provided by Trac.
    77 Please read TracPermissions on how to grant additional privileges to authenticated users.
     85view the timeline etc. Keep in mind that anonymous users (not logged in)
     86can only access a restricted subset of all Trac features.
    7887
    79 Enjoy!
     88Please continue to TracPermissions to learn how to grant additional privileges to authenticated users.
     89
     90For further user-documentation, see TracGuide.
     91
     92''Enjoy!''
    8093
    8194----
    82 See also:  TracGuide, TracOnNetBsd, TracOnOsx
     95See also:  TracGuide, TracPermissions, TracOnNetBsd, TracOnOsx