Changes between Version 1 and Version 2 of 0.10/TracInstall
- Timestamp:
- Dec 6, 2007, 3:22:22 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
0.10/TracInstall
v1 v2 2 2 [[TracGuideToc]] 3 3 4 Trac is a lightweight project management tool that is implemented as a web-based application. Trac is written in the Python programming language and needs a database (either [http://sqlite.org/ SQLite], [http://www.postgresql.org/ PostgreSQL], or [http://mysql.com/ MySQL] works). For HTML rendering, Trac uses the [http://www.clearsilver.net/ ClearSilver] templating system.4 Trac is a lightweight project management tool that is implemented as a web-based application. Trac is written in the Python programming language and needs a database (either [http://sqlite.org/ SQLite], [http://www.postgresql.org/ PostgreSQL], or [http://mysql.com/ MySQL] works). For HTML rendering, Trac uses the [http://www.clearsilver.net/ ClearSilver] templating system. 5 5 6 6 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. … … 16 16 ClearSilver up to 10.3 and Python 2.5 don't seem to get along, so you'll probably have more luck with Python 2.4. Note about it in [http://www.mail-archive.com/trac-dev@googlegroups.com/msg00034.html this mail exchange]. 17 17 ''To follow-up on that thread, with Trac 0.11dev (i.e. current trunk since r3832), Clearsilver is no longer needed. Yay. See instructions in ["TracOnWindows/Python2.5"] [[br]] -- ChristianBoos'' 18 * You can fix the problem with Python 2.5 (x_64) relativley simple, cause Clearsilver installed neo_cgi.so in the path /usr/lib/python2.5/site-packages instead of /usr/lib64/python2.5/site-packages. To solve the Problem i have just made a link in /usr/lib64/python2.5/site-packages with ''ln -s /usr/lib/python2.5/site-packages/neo_cgi.so neo_cgi.so'' to get it to run, just move the file to the correct location should solve it too.[[br]] -- !KarlHeinzMarbaise 18 * You can fix the problem with Python 2.5 (x_64) relatively easily because Clearsilver installed neo_cgi.so in the path /usr/lib/python2.5/site-packages instead of /usr/lib64/python2.5/site-packages. To solve the problem, make a link in /usr/lib64/python2.5/site-packages with ''ln -s /usr/lib/python2.5/site-packages/neo_cgi.so neo_cgi.so'' or just move the file to the correct location.[[br]] -- !KarlHeinzMarbaise 19 * For '''OS X 10.5''' ('''Leopard''') make a link:[[br]] 20 ''sudo ln -s /urs/lib/python2.5/site-packages/neo-cgi.so /Library/Python/2.5/site-packages''[[br]] 21 after you install clearsilver.[[br]] -- Samvel 19 22 * You also need a database system and the corresponding python drivers for it. 20 23 The database can be either SQLite, PostgreSQL or ''MySQL (experimental)''. … … 39 42 40 43 * [http://www.postgresql.org/ PostgreSQL] 41 * [http://initd.org/projects/psycopg2 psycopg2] or [http://pypgsql.sourceforge.net/ pyPgSQL]44 * [http://initd.org/projects/psycopg2 psycopg2] (preferred) or [http://pypgsql.sourceforge.net/ pyPgSQL] (but see #5096) 42 45 43 46 ''Note: PostgreSQL support requires Trac version 0.9 or later.'' … … 81 84 * [http://silvercity.sourceforge.net/ SilverCity] and/or [http://www.gnu.org/software/enscript/enscript.html Enscript] for [wiki:TracSyntaxColoring syntax highlighting]. 82 85 * Note that !SilverCity 0.9.6 has a [http://sourceforge.net/tracker/index.php?func=detail&aid=1424436&group_id=45693&atid=443739 bug] that breaks Python syntax highlighting in Trac. Until an update is made available, we recommend using version 0.9.5. 86 * Note that !SilverCity 0.9.7 marks the bug listed above - Fixed! 83 87 84 88 '''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 MailingList or IrcChannel. … … 88 92 == Installing Trac == 89 93 90 Like most Python programs, the Trac Python package is installed by running the following command at the top of the source directory (you must issue this command from the source directory; the installation will not work properly i syou run setup.py from a different directory) :94 Like most Python programs, the Trac Python package is installed by running the following command at the top of the source directory (you must issue this command from the source directory; the installation will not work properly if you run setup.py from a different directory) : 91 95 {{{ 92 96 $ python ./setup.py install … … 143 147 == Running Trac on a Web Server == 144 148 145 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. 146 147 If you're not afraid of running development code, you can also try running Trac on [wiki:TracModWSGI mod_wsgi]. This should deliver even better performance than mod_python, but the module is not considered stable just yet. 149 Trac provides four options for connecting to a “real” web server: [wiki:TracCgi CGI], [wiki:TracFastCgi FastCGI], [wiki:TracModWSGI mod_wsgi] and [wiki:TracModPython mod_python]. For decent performance, it is recommended that you use either mod_wsgi, FastCGI or mod_python. 148 150 149 151 == Configuring Authentication == … … 153 155 * TracStandalone if you use the standalone server, `tracd`. 154 156 * TracCgi if you use the CGI or FastCGI methods. 157 * [wiki:TracModWSGI TracModWSGI] if you use the mod_wsgi method. 155 158 * TracModPython if you use the mod_python method. 156 159