Changes between Version 34 and Version 35 of TracInstall
- Timestamp:
- May 12, 2004, 7:55:19 PM (20 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v34 v35 14 14 * [http://subversion.tigris.org/ Subversion], version >= 0.37. (>=1.0.1 recommended) 15 15 * [http://subversion.tigris.org/ Subversion Python bindings]. 16 * [http://www.sqlite.org/ SQLite], version ???17 * This is required by pysqlite and must be installed first18 16 * [http://pysqlite.sf.net/ PySQLite], version >= 0.4.3 (>= 0.5 for better performance) 19 17 * [http://clearsilver.net/ Clearsilver], version >= 0.9.3 … … 28 26 of your python installation. The directories {{{cgi-bin}}}, {{{templates}}}, {{{htdocs}}} and {{{wiki-default}}} are all copied to $prefix/share/trac/ . 29 27 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. 28 The script will also install the [wiki:TracAdmin trac-admin] command-line tool, used to create and maintain project 29 environments. Trac-admin is the ''command center'' of Trac. 31 30 32 31 '''Note:''' you'll need root permissions or equivalent for this step. … … 49 48 }}} 50 49 51 == Creating a Project Database==50 == Creating a Project Environment == 52 51 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 53 information like wiki pages, tickets, reports, settings, etc. 54 A Trac environment consist of a directory containing an SQLite database, 55 human-readable configuration file, log-files and attachments. 56 56 57 A new trac databaseis created with {{{trac-admin}}}:57 A new Trac environment is created with {{{trac-admin}}}: 58 58 59 59 {{{ 60 $ trac-admin /path/to/ mydatabase.db initdb60 $ trac-admin /path/to/projectenv initenv 61 61 }}} 62 '''Note:''' The database file have to be located in a directory where the web server63 user has write permission to both the file and the directory.62 '''Note:''' The web server user need write permission to the environment 63 directory and all the files inside. 64 64 65 65 [wiki:TracAdmin trac-admin] will ask you where your subversion repository is located and … … 87 87 # Trac need to know where the database is located 88 88 <Location "/cgi-bin/trac.cgi"> 89 SetEnv TRAC_ DB "/somewhere/myproject.db"89 SetEnv TRAC_ENV "/path/to/projectenv" 90 90 </Location> 91 91 … … 102 102 }}} 103 103 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. 105 105 106 106 == Using Trac ==