Changes between Version 1 and Version 2 of TracInstall


Ignore:
Timestamp:
Jan 30, 2006, 11:09:16 PM (18 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v1 v2  
    1717   * If Subversion was already installed without the SWIG bindings, you'll need to re-`configure` Subversion and `make swig-py`, `make install-swig-py`.
    1818 * [http://www.clearsilver.net/ ClearSilver], version >= 0.9.3
     19   * With python-bindings (`./configure --with-python=/usr/bin/python`)
    1920
    2021=== For SQLite ===
     
    2526   * version 1.1.x or 2.x (for SQLite 3.x)
    2627
    27 ''Note: Versions of Trac prior to 0.9 do '''not''' work with PySQLite 2.x.''
    28 
    2928=== For PostgreSQL ===
    3029
    3130 * [http://www.postgresql.org/ PostgreSQL]
    3231 * [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.''
    3532
    3633=== Optional Requirements ===
     
    3936 * a [http://www.fastcgi.com/ FastCGI]-capable web server (see TracFastCgi), or
    4037 * [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)
    4139 * [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].
    4341
    4442'''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].
     
    4846== Installing Trac ==
    4947
    50 Like most Python programs, install the Trac Python package by running the following command at the top of the source directory:
     48Like most Python programs, the Trac Python package is installed by running the following command at the top of the source directory:
    5149{{{
    5250$ python ./setup.py install
     
    5654
    5755This 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/.`
     56of your Python installation. The directories `cgi-bin`, `templates`, `htdocs`, `wiki-default` and `wiki-macros` are all copied to `$prefix/share/trac/.`
    5957
    6058The 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.
     
    7977A new environment is created using [wiki:TracAdmin trac-admin]:
    8078{{{
    81 $ svnadmin create --fs-type=fsfs /path/to/svn_project_env
    82  (in some environments leave out the parameters "--fs-type=fsfs" )
    8379$ trac-admin /path/to/trac_project_env initenv
    8480}}}
    8581
    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.
    8783
    8884Also note that the values you specify here can be changed later by directly editing the [wiki:TracIni] configuration file.
     
    106102Trac 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.
    107103
     104== Configuring Authentication ==
     105
     106The 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.
    108111
    109112== Using Trac ==