Changes between Version 1 and Version 2 of TracInstall
- Timestamp:
- Jan 30, 2006, 11:09:12 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInstall
v1 v2 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 * With python-bindings (`./configure --with-python=/usr/bin/python`) 19 20 20 21 === For SQLite === … … 25 26 * version 1.1.x or 2.x (for SQLite 3.x) 26 27 27 ''Note: Versions of Trac prior to 0.9 do '''not''' work with PySQLite 2.x.''28 29 28 === For PostgreSQL === 30 29 31 30 * [http://www.postgresql.org/ PostgreSQL] 32 31 * [http://initd.org/projects/psycopg1 psycopg1], [http://initd.org/projects/psycopg2 psycopg2], or [http://pypgsql.sourceforge.net/ pyPgSQL] 33 34 ''Note: PostgreSQL support requires Trac version 0.9 or later.''35 32 36 33 === Optional Requirements === … … 39 36 * a [http://www.fastcgi.com/ FastCGI]-capable web server (see TracFastCgi), or 40 37 * [http://httpd.apache.org/ Apache] with [http://www.modpython.org/ mod_python 3.1.3+] (see TracModPython) 38 * [http://peak.telecommunity.com/DevCenter/setuptools setuptools], version >= 0.5a13 for using plugins (see TracPlugins) 41 39 * [http://docutils.sourceforge.net/ docutils], version >= 0.3.3 for WikiRestructuredText. 42 * [http:// peak.telecommunity.com/DevCenter/setuptools setuptools], version >= 0.5a13 for using plugins (see TracPlugins)40 * [http://silvercity.sourceforge.net/ SilverCity] and/or [http://www.gnu.org/software/enscript/enscript.html Enscript] for [wiki:TracSyntaxColoring syntax highlighting]. 43 41 44 42 '''Attention''': The various available versions of these dependencies are not necessarily interchangable, so please pay attention to the version numbers above. If you are having trouble getting Trac to work please double-check all the dependencies before asking for help on the [http://projects.edgewall.com/trac/wiki/MailingList MailingList] or [http://projects.edgewall.com/trac/wiki/IrcChannel IrcChannel]. … … 48 46 == Installing Trac == 49 47 50 Like most Python programs, install the Trac Python packageby running the following command at the top of the source directory:48 Like most Python programs, the Trac Python package is installed by running the following command at the top of the source directory: 51 49 {{{ 52 50 $ python ./setup.py install … … 56 54 57 55 This will byte-compile the python source code and install it in the `site-packages` directory 58 of your Python installation. The directories `cgi-bin`, `templates`, `htdocs` and `wiki-default` are all copied to `$prefix/share/trac/.`56 of your Python installation. The directories `cgi-bin`, `templates`, `htdocs`, `wiki-default` and `wiki-macros` are all copied to `$prefix/share/trac/.` 59 57 60 58 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. … … 79 77 A new environment is created using [wiki:TracAdmin trac-admin]: 80 78 {{{ 81 $ svnadmin create --fs-type=fsfs /path/to/svn_project_env82 (in some environments leave out the parameters "--fs-type=fsfs" )83 79 $ trac-admin /path/to/trac_project_env initenv 84 80 }}} 85 81 86 [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.82 [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. 87 83 88 84 Also note that the values you specify here can be changed later by directly editing the [wiki:TracIni] configuration file. … … 106 102 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. 107 103 104 == Configuring Authentication == 105 106 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: 107 108 * TracStandalone if you use the standalone server, `tracd`. 109 * TracCgi if you use the CGI or FastCGI methods. 110 * TracModPython if you use the mod_python method. 108 111 109 112 == Using Trac ==