Changes between Version 146 and Version 147 of TracInstall
- Timestamp:
- Oct 31, 2005, 12:01:25 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v146 v147 17 17 * If Subversion was already installed without the SWIG bindings, you'll need to re-`configure` Subversion and `make swig-py`, `make install-swig-py`. 18 18 * [http://www.clearsilver.net/ ClearSilver], version >= 0.9.3 19 * install with python-bindings, i.e. run `./configure --with-python=/usr/bin/python`19 * With python-bindings (`./configure --with-python=/usr/bin/python`) 20 20 21 21 === For SQLite === … … 40 40 * a [http://www.fastcgi.com/ FastCGI]-capable web server (see TracFastCgi), or 41 41 * [http://httpd.apache.org/ Apache] with [http://www.modpython.org/ mod_python 3.1.3+] (see TracModPython) 42 * [http://peak.telecommunity.com/DevCenter/setuptools setuptools], version >= 0.5a13 for using plugins (see TracPlugins) 42 43 * [http://docutils.sourceforge.net/ docutils], version >= 0.3.3 for WikiRestructuredText. 43 * [http:// peak.telecommunity.com/DevCenter/setuptools setuptools], version >= 0.5a13 for using plugins (see TracPlugins)44 * [http://silvercity.sourceforge.net/ SilverCity] and/or [http://www.gnu.org/software/enscript/enscript.html Enscript] for [wiki:TracSyntaxColoring syntax highlighting]. 44 45 45 46 For those stuck with Apache 1.3, it is also possible to get Trac 0.8.4 working with [http://www.modpython.org/ mod_python 2.7] (see [wiki:TracModPython2.7 TracModPython2.7]). This hasn't been tested with Trac 0.9, so it may or may not work. … … 51 52 == Installing Trac == 52 53 53 Like most Python programs, install the Trac Python packageby running the following command at the top of the source directory:54 Like most Python programs, the Trac Python package is installed by running the following command at the top of the source directory: 54 55 {{{ 55 56 $ python ./setup.py install … … 59 60 60 61 This will byte-compile the python source code and install it in the `site-packages` directory 61 of your Python installation. The directories `cgi-bin`, `templates`, `htdocs` and `wiki-default` are all copied to `$prefix/share/trac/.`62 of your Python installation. The directories `cgi-bin`, `templates`, `htdocs`, `wiki-default` and `wiki-macros` are all copied to `$prefix/share/trac/.` 62 63 63 64 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. … … 82 83 A new environment is created using [wiki:TracAdmin trac-admin]: 83 84 {{{ 84 $ svnadmin create --fs-type=fsfs /path/to/svn_project_env85 (in some environments leave out the parameters "--fs-type=fsfs" )86 85 $ trac-admin /path/to/trac_project_env initenv 87 86 }}} 88 87 89 [wiki:TracAdmin trac-admin] will prompt you for the information it needs to create the environment, such as the name of the project, the [wiki:TracEnvironment#DatabaseConnectionStrings database connection string], and so on. If you're not sure what to specify for one of these options, just leave it blank to use the default value. The database connection string in particular will always work as long as you have SQLite installed. The only option where the default value is likely to not work is the path to the Subversion repository, so make sure that one's correct.88 [wiki:TracAdmin trac-admin] will prompt you for the information it needs to create the environment, such as the name of the project, the path to an existing subversion repository, the [wiki:TracEnvironment#DatabaseConnectionStrings database connection string], and so on. If you're not sure what to specify for one of these options, just leave it blank to use the default value. The database connection string in particular will always work as long as you have SQLite installed. The only option where the default value is likely to not work is the path to the Subversion repository, so make sure that one's correct. 90 89 91 90 Also note that the values you specify here can be changed later by directly editing the [wiki:TracIni] configuration file. … … 109 108 Trac provides three options for connecting to a “real” web server: [wiki:TracCgi CGI], [wiki:TracFastCgi FastCGI] and [wiki:TracModPython mod_python]. For decent performance, it is recommended that you use either FastCGI or mod_python. 110 109 111 == User Management==110 == Configuring Authentication == 112 111 113 The process of adding, removing, and configuring authentication for users depends on the specific method you use to accessTrac. To learn about how to accomplish these tasks, please visit one of the following pages:112 The process of adding, removing, and configuring user accounts for authentication depends on the specific way you run Trac. To learn about how to accomplish these tasks, please visit one of the following pages: 114 113 115 * TracStandalone if you use the standalone server, tracd.114 * TracStandalone if you use the standalone server, `tracd`. 116 115 * TracCgi if you use the CGI or FastCGI methods. 117 116 * TracModPython if you use the mod_python method. 118 117 119 118 == Using Trac == 120 121 119 122 120 Once you have your Trac site up and running, you should be able to browse your subversion repository, create tickets, view the timeline, etc.