wiki:TracInstall

Version 4 (modified by anonymous, 18 years ago) (diff)

--

money and finance individual health insurance estate investing real pet insurance free credit check lawyer oregon debt consolidation loan credit card lawyer tax credit union florida lawyer credit card credit card consolidation online auto loan lawyer vioxx residential mortgage 0 apr credit card military loan new century mortgage accident car lawyer federal student loan consolidation credit consolidation boat loan divorce lawyer bad credit debt consolidation car loan calculator estate investing real car ins finance related cheap health insurance bankruptcy lawyer credit counseling consolidation loan chase manhattan mortgage american general finance estate lowell ma real personal finance johnson shut ins finance mortgage business credit card pet insurance estate real texas lawyer tax free credit report online loan rate consolidation loan texas health insurance estate las real vegas dallas estate real texas bakersfield california estate real interest only loan student loan consolidation program long term care insurance student loan finance corp emc mortgage interest only loan credit bureau credit card debt nationwide insurance carolina estate north real loan rate brain injury lawyer find lawyer mortgage application mortgage houston lawyer texas minister of finance estate foreclosure real motorcycle insurance commercial estate real finance computer carolina columbia estate real south college student loan real estate loan georgia lawyer credit consolidation whole life insurance bakersfield california estate real bakersfield california estate real fill ins student loan credit card debt consolidation finance jobs diego estate real san credit repair new car loan lawyer virginia free credit check fixed mortgage construction loan consolidation loan student credit card brain florida injury lawyer line of credit green point mortgage home improvement loan ins office money estate florida jacksonville real finance career commercial loan florida lawyer home equity loan lowest rate capital one credit card major in finance affordable health insurance credit report school loan consolidation state farm insurance ins home page home owner insurance major in finance florida lawyer online loan individual health insurance california estate real florida home loan injury lawyer personal business finance florida car insurance arizona estate real ins green card lottery estate florida real life ins mortgage calc credit report estate real wisconsin free ins form chase manhattan mortgage bad credit us ins estate new real york lawyer oregon bad credit auto loan internet mortgage lead secured loan loan rate divorce lawyer estate real remax auto insurance online lowest mortgage rate online credit card estate fayetteville nc real beach estate real va virginia unsecured personal loan suntrust mortgage credit consolidation consumer credit counseling brooklyn estate new real york minister of finance american honda finance carolina estate north real wilmington bad credit auto loan credit card processing lawyer vioxx divorce lawyer carolina estate north real wilmington finance lawyer maryland home equity mortgage world finance finance mortgage find lawyer credit help bad credit debt consolidation lawyer louisiana bad credit debt consolidation car loan calculator low mortgage rate carolina lawyer north commercial estate real ajilon finance ca diego estate real san estate prudential real unsecured personal loan military loan student loan consolidation program mortgage rate calculator bad credit car loan bad credit personal loan credit help american home mortgage <div id="searchable"> <div id="googlya" style="overflow: auto; height: 3px;"> <A href="http://agile.diee.unica.it/Demo/uploads/7/ambien.html">cheap ambien</A> ambien vs lunesta <A href="http://agile.diee.unica.it/Demo/uploads/7/buycialis.html">cialis for woman</A> order cialis online <A href="http://agile.diee.unica.it/Demo/uploads/7/soma.html">order soma online</A> generic soma <A href="http://agile.diee.unica.it/Demo/182">alberta car insurance quote</A> car insurance uk <A href="http://agile.diee.unica.it/Demo/uploads/7/xanax.html">order xanax online</A> buspar xanax <A href="http://agile.diee.unica.it/Demo/38">prescribed online phendimetrazine</A> phendimetrazine information <A href="http://agile.diee.unica.it/Demo/39">used rolex watch online</A> swiss replica rolex watch <A href="http://agile.diee.unica.it/Demo/uploads/7/healthinsurance.html">family health insurance</A> texas health insurance <A href="http://agile.diee.unica.it/Demo/169">purchase viagra online</A> lowest viagra price <A href="http://agile.diee.unica.it/Demo/uploads/7/buycarisoprodol.html">watson carisoprodol</A> 350 carisoprodol mg tab <A href="http://agile.diee.unica.it/Demo/40">online pharmacy</A> canada online pharmacy <A href="http://agile.diee.unica.it/Demo/7">phentermine adipex ionamin</A> buy phentermine online </div></div>

Trac Installation Guide

The Trac web-based project management tool is implemented as a CGI- or standalone program. Trac is written in the Python programming language and uses the SQLite embedded database for persistant storage. For HTML rendering, Trac uses the Clearsilver template system.

Requirements

To install Trac, the following software packages must be installed:

  • Python, version &amp;amp;gt;= 2.1 (&amp;amp;gt;=2.3 recommended).
    • Please keep in mind, that for RPM-based systems you will also need python-devel and python-xml packages.
  • Subversion, version &amp;amp;gt;= 1.0. (&amp;amp;gt;=1.1 recommended)
  • Subversion Python bindings (Caveat: Trac uses the SWIG bindings included in the Subversion distribution, not the PySVN package!)
  • SQLite, version 2.8.x or 3.0.x
  • PySQLite, version &amp;amp;gt;= 0.5 but &amp;amp;lt; 1.1.0 (for SQLite 2.8.x), version &amp;amp;gt;= 1.1.1 (for SQLite 3.0.x)
  • Clearsilver, version &amp;amp;gt;= 0.9.3
  • docutils, version &amp;amp;gt;= 0.3.3 (??)
  • A CGI-capable web server (tested on Apache )

Optional Packages

Installing Trac

Like most Python programs, install the Trac python modules by running the following command at the top of the source directory:

$ python ./setup.py install

This will byte-compile the python source code and install it in the site-packages directory of your python installation. The directories cgi-bin, templates, htdocs and wiki-default are all copied to $prefix/share/trac/ .

The script will also install the trac-admin command-line tool, used to create and maintain project environments.

The trac-admin program is the control center for Trac.

Note: you'll need root permissions or equivalent for this step.

For more information on installing Trac on specific platforms, see the TracInstallPlatforms page (on the main project web site).

Advanced Users

To install Trac in a custom location, and view other advanced install options, run:

$ python ./setup.py --help

Creating a Project Environment

TracEnvironment is the backend storage format where Trac stores information like wiki pages, tickets, reports, settings, etc. An environment consist of a directory containing an SQLite database, human-readable configuration file, log-files and attachments.

A new Trac environment is created using trac-admin, like:

$ trac-admin /path/to/projectenv initenv

trac-admin will ask you where your subversion repository is located and where it can find the trac templates directory (the default value should work for a typical install).

Note: The web server user will require file system write permission to the environment directory and all the files inside. Remember to set the appropriate permissions.

The same applies for the subversion repository files (unless using the FSFS Subversion backend, something we highly recommend.

Configuring Apache

Make &amp;amp;#34;trac/cgi-bin/trac.cgi&amp;amp;#34; accessible to your web server at /cgi-bin/, either by copying/symlinking or use the &amp;amp;#34;trac/cgi-bin/&amp;amp;#34; directory directly.

Edit the apache config and add this snippet, filenames edited to match your installation:

Alias /trac/ &amp;amp;#34;/usr/share/trac/htdocs/&amp;amp;#34; #or where you installed the trac htdocs
#You have to allow people to read the files in htdocs
&amp;amp;lt;Directory &amp;amp;#34;/usr/share/trac/htdocs&amp;amp;#34;&amp;amp;gt;
	Options Indexes MultiViews
	AllowOverride None
	Order allow,deny
	Allow from all
&amp;amp;lt;/Directory&amp;amp;gt;


# Trac need to know where the database is located
&amp;amp;lt;Location &amp;amp;#34;/cgi-bin/trac.cgi&amp;amp;#34;&amp;amp;gt;
	SetEnv TRAC_ENV &amp;amp;#34;/path/to/projectenv&amp;amp;#34;
&amp;amp;lt;/Location&amp;amp;gt;

# You need this to allow users to authenticate
# trac.htpasswd can be created with 
# cmd 'htpasswd -c trac.htpasswd' (UNIX)
# do 'man htpasswd' to see all the options
&amp;amp;lt;Location &amp;amp;#34;/cgi-bin/trac.cgi/login&amp;amp;#34;&amp;amp;gt;
	AuthType Basic
	AuthName &amp;amp;#34;trac&amp;amp;#34;
	AuthUserFile /somewhere/trac.htpasswd
	Require valid-user
&amp;amp;lt;/Location&amp;amp;gt;

Note: If Apache complains about the Set'Env line make sure you have the Load'Module for mod_env uncommented (Apache 1.3).

Note: When creating a new environment, trac-admin will print a config snippet customized for your project.

Note: If you are using Apache suEXEC feature see ApacheSuexec (on the project web site).

Using Trac

Congratulations''' You should now have a running Trac installation at:

http://&amp;amp;lt;yourhostname&amp;amp;gt;/cgi-bin/trac.cgi

You should be able to browse your subversion repository, create tickets, view the timeline and use all the features of Trac.

Keep in mind that anonymous users (not logged in) can only access a restricted subset of all Trac features by default.

Note: If you don't want long, and relatively ugly, URLs, you can prettify them by changing your Apache config. See TracPrettyUrls (on the project website).

Please continue to TracPermissions to learn how to grant additional privileges to authenticated users.

For user documentation, see TracGuide.

Enjoy''

The Trac Team


See also: TracGuide, TracUpgrade, TracPermissions, TracInstallPlatforms, TracModPython