======================
|| INSTALLING TROLL ||
======================

This document contains instructions for installing the Troll web-based
news reader application on your system.


OBTAINING Troll
---------------

Troll can be obtained from the Horde website and FTP server, at

   ftp://ftp.horde.org/pub/snaps/latest/
   http://www.horde.org/source/

There are no release versions of Troll. This will change when the next
version of Horde is released.


PREREQUISITES
-------------

To function properly, Troll requires the following:

  1. A working Horde installation.

     Troll runs within the Horde Application Framework, a set of
     common tools for Web applications written in PHP. You must
     install Horde before installing Troll. You must use a version of
     Horde 3.0 or greater.

     The Horde Framework can be obtained from the Horde website and
     FTP server, at:

        http://www.horde.org/horde/
        ftp://ftp.horde.org/pub/horde/

     Many of Troll's prerequisites are also Horde prerequisites.
     BE SURE TO HAVE COMPLETED ALL OF THE STEPS IN THE horde/docs/INSTALL
     FILE FOR THE HORDE FRAMEWORK BEFORE INSTALLING TROLL.

  2. The following PHP capabilities:

     a. IMAP and POP3 support (--with-imap) [OPTIONAL]

        PHP uses the UW-IMAP c-client library to provide NNTP support.
        POP3 support.

        C-client is available from

           ftp://ftp.cac.washington.edu/imap/

        IMPORTANT NOTE: c-client support is broken in PHP 4.2.2 & 4.2.3.
        If you are using either of these versions you cannot use any
        'imap-2002' releases or else IMP will not function properly. If this
        is your situation, you have 2 options:

          1. If using PHP 4.2.3, you can apply this patch:
          http://lists.horde.org/archives/imp/Week-of-Mon-20021111/026936.html

          2. Either upgrade to the 'imap-2003' or later code or downgrade
          to the 'imap-2001a' code.

  3. The following PEAR modules:
     (See horde/docs/INSTALL for instructions on installing PEAR modules)

     a. Net_NNTP

        Net_NNTP is required for composing/canceling news messages.


INSTALLING Troll
----------------

Troll is written in PHP, and must be installed in a web-accessible
directory. The precise location of this directory will differ from
system to system. Conventionally, Troll is installed directly underneath
Horde in the webserver's document tree.

Since Troll is written in PHP, there is no compilation necessary;
simply expand the distribution where you want it to reside and rename
the root directory of the distribution to whatever you wish to appear
in the URL. For example, with the Apache webserver's default document
root of '/usr/local/apache/htdocs', you would type:

   cd /usr/local/apache/htdocs/horde
   tar zxvf /path/to/troll-date.tar.gz
   mv troll-date troll

and would then find Troll at the URL

   http://your-server/horde/troll/


CONFIGURING
-----------

1. Configuring Horde for Troll

   a. Register the application

      In horde/config/registry.php, find the applications['troll'] stanza.
      The default settings here should be okay, but you can change
      them if desired.  If you have changed the location of Troll relative
      to Horde, either in the URL, in the filesystem or both, you must
      update the 'fileroot' and 'webroot' settings to their correct
      values.

2. Configuring Troll.

   To configure Troll, change to the config/ directory of the
   installed distribution, and make copies of all of the configuration
   "dist" files without the "dist" suffix:

      cd config/
      for foo in *.dist; do cp $foo `basename $foo .dist`; done

      or on Windows
      copy *.dist *.

   Documentation on the format of those files can be found in each
   file.   With the exception of the conf.* files (see below) and
   backends.php, the other files in config/ need only be modified
   if you wish to customize Troll's appearance or behavior, as the
   defaults will be correct for most sites.

   You must login to Horde as a Horde Administrator to finish the
   configuring of Troll. Use the Horde "Administration" menu item to get
   to the Administration page, and then click on the "Configuration"
   icon to get the Configuration page.  Click on "Newsgroups" in the
   list of applications, and fill in or change any configuration values as 
   needed.  When done click on "Generate Newsgroups Configuration" to 
   generate the conf.php file.  If your web server doesn't have write 
   permissions to the Troll configuration directory or file, it will not
   be able to write the file.  In this case, cut and paste the returned 
   configuration information into the file troll/config/conf.php.


ADDITIONAL INFORMATION
----------------------

Note for international users:  Troll uses GNU gettext to provide local
translations of text displayed by the application; the translations are
found in the po/ directory.  If a translation is not yet available
for your locale (and you wish to create one), or if you're having
trouble using a provided translation, please see the
horde/docs/TRANSLATIONS file for instructions.


OBTAINING SUPPORT
-----------------

If you encounter problems with Troll, help is available!

The Horde Frequently Asked Questions List (FAQ), available on the Web
at

  http://www.horde.org/faq/

The Horde Project runs a number of mailing lists, for individual
applications and for issues relating to the project as a whole.
Information, archives, and subscription information can be found at

  http://www.horde.org/mail/

Lastly, Horde developers, contributors and users also make occasional
appearances on IRC, on the channel #horde on the Freenode Network
(irc.freenode.net).

Please keep in mind that Troll is free software written by volunteers.
For information on reasonable support expectations, please read

  http://www.horde.org/support.php


CREDITS
-------

See the seperate CREDITS file under the docs/ directory.

Happy trolling!

The Troll team
troll@lists.horde.org

$Horde: troll/docs/INSTALL,v 1.12 2005/11/02 16:43:36 selsky Exp $
