Edgewall Software

Changes between Version 62 and Version 63 of TracEnvironment


Ignore:
Timestamp:
Feb 8, 2016, 7:10:44 AM (3 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracEnvironment

    v62 v63  
    22
    33[[TracGuideToc]]
    4 [[PageOutline]]
     4[[PageOutline(2-5,Contents,pullout)]]
    55
    6 Trac uses a directory structure and a database for storing project data. The directory is referred to as the environment.
     6Trac uses a directory structure and a database for storing project data. The directory is referred to as the '''environment'''.
    77
    88== Creating an Environment
     
    7676When running `createuser` you will be prompted for the password for the user 'tracuser'. This new user will not be a superuser, will not be allowed to create other databases and will not be allowed to create other roles. These privileges are not needed to run a Trac instance. If no password is desired for the user, simply remove the `-P` and `-E` options from the `createuser` command. Also note that the database should be created as UTF8. LATIN1 encoding causes errors, because of Trac's use of unicode. SQL_ASCII also seems to work.
    7777
    78 Under some default configurations (Debian) one will have run the `createuser` and `createdb` scripts as the `postgres` user:
     78Under some default configurations (Debian), run the `createuser` and `createdb` scripts as the `postgres` user:
    7979{{{#!sh
    8080$ sudo su - postgres -c 'createuser -U postgres -S -D -R -E -P tracuser'
     
    139139  * `site.html` - Method to customize header, footer, and style, described in TracInterfaceCustomization#SiteAppearance.
    140140
    141 === Caveat: don't confuse a ''Trac environment directory'' with the ''source code repository directory'' #Caveat
     141=== Caveat
    142142
     143'''Don't confuse a ''Trac environment directory'' with the ''source code repository directory''.'''
    143144This is a common beginners' mistake.
    144145It happens that the structure for a Trac environment is loosely modelled after the Subversion repository directory structure, but those are two disjoint entities and they are not and ''must not'' be located at the same place.