AGNOSTOS 

Prequisites
-----------


1. Mysql (3.22.27 or later) - Agnostos will almost certainly work with
   earlier versions as well, but hasn't been tested below 3.22.27.

2. Perl 5.005_03 or later 

3. The web server of your choice (must support CGI ;-) ) - tested with
   Apache (v. 1.3.9 and later), Zeus (v. 3.3.7)

4. The following Perl modules: (from www.cpan.org or the .deb or .rpm
   packages for your preferred Linux distribution)
     DBD::mysql (version 1.2202 or later) 
     DBI (version 1.13 or later) 
     Mail::Sendmail (version 0.77 or later)

Installation
------------

1. Run (as a user with permission to update the mysql user and db
   tables), the script 'install.pl' which you will find in this
   directory. 

   a. Installation Directory: you will be prompted for an installation
      directory - if installing Agnostos for the first time, merely
      enter the full path to the directory in which you would like the
      CGI scripts installed.  (This should be a directory inside the
      document root of one of your webserver's virtual servers.)

      Upgrading
      ~~~~~~~~~

      If upgrading from an earlier version, enter the path to the
      directory in which Agnostos is already installed.  The previous
      installation will be detected, and you will be asked if you
      would like to upgrade it.  Answering 'y' will result in your
      previous directory being backed up to "<dir_name>.old", and the
      new version of Agnostos being installed in its place.  

      The upgrade script will preserve all changes you made to the
      Agnostos configuration file, and will merge in any new
      configurables. 

   b. Database Name: you will then be prompted for a name for the
      Agnostos mysql database.  If you need to have several entirely
      independent installations of Agnostos sharing the same mysql
      database, you can do so merely by choosing differnet database
      names for each instance of Agnostos.

   c. Database Username: finally, you will be prompted for the
      username which the Agnostos CGI scripts will use to log on to
      the mysql database.  The default of 'agnostos' will be fine in
      most cases. 
      
      Change to authentication enabled
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      If you want to use authentication ('auth_inuse = 1' in the config file)
      on a new installation, you do not have to do anything additional.
      If you change to use authentication on a running system, please run
      'change_to_auth.pl' to generate and distribute passwords. Make sure
      that at least you as administrator have a valid email set, or you
      may run into troubles.
      

2. Ensure that the webserver has a MIME type of
   "application/x-httpd-cgi" set for files with the extension ".pl".


And that's it... just point your browser at the appropriate URL...


Configuration
-------------

The Agnostos Configuration file is in
$INSTALL_DIR/config/agnostos.conf (where $INSTALL_DIR is the path you
provided in step 1.a, above).

It contains several configurables which you may wish to change
(Those who don't use the European DD.MM.YYYY format for their dates
might want to play with 'date_format', for example).  Documentation for 
the configurables is in comments in the configuration file itself.


Documentation
-------------

Such documentation as there is at present is in the doc/ directory.
It's more programmers reference material (config. file specifcations,
et al) than user docs.  (Agnostos itself is of course so trivially
easy to use that it doesn't need any documentation (ahem!) ;-> [More
seriously - this will follow as soon as I have the free time to write
it]).


Maintainer: Thomas E. Bernoulli <swissforge_tom77@bernoulli.ch>
Author: Julian T J Midgley <jtjm@xenoclast.org>
Website: http://swissforge.net/projects/agnostos/

