Edgewall Software

Changes between Version 9 and Version 10 of 1.1/TracEnvironment


Ignore:
Timestamp:
Feb 10, 2016, 9:10:36 AM (8 years ago)
Author:
Jun Omae
Comment:

Merge TracEnvironment@63 and TracEnvironment@64

Legend:

Unmodified
Added
Removed
Modified
  • 1.1/TracEnvironment

    v9 v10  
    22
    33[[TracGuideToc]]
    4 [[PageOutline(2-5)]]
     4[[PageOutline(2-5,Contents,pullout)]]
    55
    66Trac uses a directory structure and a database for storing project data. The directory is referred to as the environment.
     7Trac uses a directory structure and a database for storing project data. The directory is referred to as the '''environment'''.
    78
    89== Creating an Environment
     
    8384When 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.
    8485
    85 Under some default configurations (Debian) one will have run the `createuser` and `createdb` scripts as the `postgres` user:
     86Under some default configurations (Debian), run the `createuser` and `createdb` scripts as the `postgres` user:
    8687{{{#!sh
    8788$ sudo su - postgres -c 'createuser -U postgres -S -D -R -E -P tracuser'