Changes between Version 6 and Version 7 of TracInstall
- Timestamp:
- 03/11/08 05:24:52 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v6 v7 4 4 '''NOTE: this page is now for 0.11, which will be released soon. For installing previous Trac versions, please refer to wiki:0.10/TracInstall.''' 5 5 6 Trac is written in the Python programming language and needs a database, [http://sqlite.org/ SQLite], [http://www.postgresql.org/ PostgreSQL], or [http://mysql.com/ MySQL]. For HTML rendering, Trac uses the [http://genshi.edgewall. comGenshi] templating system.6 Trac is written in the Python programming language and needs a database, [http://sqlite.org/ SQLite], [http://www.postgresql.org/ PostgreSQL], or [http://mysql.com/ MySQL]. For HTML rendering, Trac uses the [http://genshi.edgewall.org Genshi] templating system. 7 7 8 8 What follows are generic instructions for installing and setting up Trac and its requirements. While you can find instructions for installing Trac on specific systems at TracInstallPlatforms on the main Trac site, please be sure to '''first read through these general instructions''' to get a good understanding of the tasks involved. … … 85 85 == Installing Trac == 86 86 87 Because of setuptools you can do, with the release tag, as well as with trunk: 87 One way to install Trac is using `setuptools`. 88 With setuptools you can install Trac from the subversion repository; for example, 89 to install release version 0.11 do: 88 90 {{{ 89 91 easy_install http://svn.edgewall.com/repos/trac/tags/trac-0.11 … … 99 101 This will byte-compile the python source code and install it in the `site-packages` directory 100 102 of your Python installation. The directories `cgi-bin`, `templates`, `htdocs`, `wiki-default` and `wiki-macros` are all copied to `$prefix/share/trac/`. `conf` and `plugins` stub directories are also created under `$prefix/share/trac/`. 103 On Linux, the default value of `$prefix` is `/usr`, so the installation will be to `/usr/share/trac`, whereas the BSDs use `/usr/local`. Other Unix or Unix-like systems might use a similar prefix or something like `/opt`, please see your system's documentation for details. 101 104 102 105 The script will also install the [wiki:TracAdmin trac-admin] command-line tool, used to create and maintain [wiki:TracEnvironment project environments], as well as the [wiki:TracStandalone tracd] standalone server. … … 129 132 Also note that the values you specify here can be changed later by directly editing the [wiki:TracIni] configuration file. 130 133 131 ''Note: The user account under which the web server runs will require write permissions to the environment directory and all the files inside.'' 134 ''Note: The user account under which the web server runs will require write permissions to the environment directory and all the files inside. On Linux, with the web server running as user apache and group apache, enter:'' 135 136 chown -R apache.apache /path/to/myproject 132 137 133 138
