Edgewall Software

Changes between Version 34 and Version 35 of TracInstall


Ignore:
Timestamp:
May 12, 2004, 7:55:19 PM (20 years ago)
Author:
Jonas Borgström
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v34 v35  
    1414 * [http://subversion.tigris.org/ Subversion], version >= 0.37. (>=1.0.1 recommended)
    1515 * [http://subversion.tigris.org/ Subversion Python bindings].
    16  * [http://www.sqlite.org/ SQLite], version ???
    17    * This is required by pysqlite and must be installed first
    1816 * [http://pysqlite.sf.net/ PySQLite], version >= 0.4.3 (>= 0.5 for better performance)
    1917 * [http://clearsilver.net/ Clearsilver], version >= 0.9.3
     
    2826of your python installation. The directories {{{cgi-bin}}}, {{{templates}}}, {{{htdocs}}} and {{{wiki-default}}} are all copied to $prefix/share/trac/ .
    2927
    30 The 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.
     28The script will also install the [wiki:TracAdmin trac-admin] command-line tool, used to create and maintain project
     29environments. Trac-admin is the ''command center'' of Trac.
    3130
    3231'''Note:''' you'll need root permissions or equivalent for this step.
     
    4948}}}
    5049
    51 == Creating a Project Database ==
     50== Creating a Project Environment ==
    5251
    53 Trac stores wiki pages, tickets and all other information in a single embedded SQLite database.
    54 SQLite databases are stored as a single ordinary file on your filesystem, no separate database server
    55 or environment is required.
     52''Trac Environment'' is the backend storage format where Trac stores
     53information like wiki pages, tickets, reports, settings, etc.
     54A Trac environment consist of a directory containing an SQLite database,
     55human-readable configuration file, log-files and attachments.
    5656
    57 A new trac database is created with {{{trac-admin}}}:
     57A new Trac environment is created with {{{trac-admin}}}:
    5858
    5959{{{
    60 $ trac-admin /path/to/mydatabase.db initdb
     60$ trac-admin /path/to/projectenv initenv
    6161}}}
    62 '''Note:''' The database file have to be located in a directory where the web server
    63 user has write permission to both the file and the directory.
     62'''Note:''' The web server user need write permission to the environment
     63directory and all the files inside.
    6464
    6565[wiki:TracAdmin trac-admin] will ask you where your subversion repository is located and
     
    8787# Trac need to know where the database is located
    8888<Location "/cgi-bin/trac.cgi">
    89         SetEnv TRAC_DB "/somewhere/myproject.db"
     89        SetEnv TRAC_ENV "/path/to/projectenv"
    9090</Location>
    9191
     
    102102}}}
    103103
    104 '''Note:''' When creating a new database, {{{trac-admin}}} will print a config snippet customized for your project.
     104'''Note:''' When creating a new environment, {{{trac-admin}}} will print a config snippet customized for your project.
    105105
    106106== Using Trac ==