
Usefull links
-------------

Homepage:          http://fastcgi-gallery.platon.sk/
CVS web interface: http://platon.sk/cvs/cvs.php/web-apps/fastcgi-gallery/
Development page:  http://platon.sk/projects/main_page.php?project_id=13



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

Install necessary Perl modules. On Debian/GNU Linux the following commands can
do this job:

--------------------------------------%<--------------------------------------
# apt-get install perl apache
# apt-get install libfcgi-perl libapache-mod-fastcgi
# apt-get install libtemplate-perl
# apt-get install libmime-types-perl
# apt-get install libimage-imlib2-perl libimage-size-perl libimage-info-perl 
--------------------------------------%<--------------------------------------

install CGI::Lite from CPAN,  http://search.cpan.org/~smylers/CGI-Lite/Lite.pm
install Time::HiRes from CPAN http://search.cpan.org/~jhi/Time-HiRes/HiRes.pm
(if it is not installed with your Perl)

Create cache dir in the root of fastcgi-gallery:

--------------------%<--------------------
# mkdir cache/
# chmod 2700 cache/
# setfacl -m u:www-data:rwx,m::rwx cache/
--------------------%<--------------------

If your system doesn't support ACL (setfacl command fails), grant read and
write access to FastCGI process.

Configure your Apache webserver. If you are not experienced with Apache, use
doc/httpd-example.conf as an example. You need option '+MultiViews' enabled,
so extension of index.fcgi can be hidden, for example:

http://rajo.platon.sk/index/en/show:gallery

instead of

http://rajo.platon.sk/index.fcgi/en/show:gallery
                           ^^^^^
This is a feature of Apache's CGI/FastCGI handler.


Downloading from CVS
--------------------

CVS web interface can be found on
http://platon.sk/cvs/cvs.php/web-apps/fastcgi-gallery/ . You can download
source code of this project directly from CVS with following command:

--------------------------------------%<--------------------------------------
cvs -d :pserver:anonymous@cvs.platon.sk:/home/cvs checkout web-apps/fastcgi-gallery
--------------------------------------%<--------------------------------------

--
Developed by Lubomir Host 'rajo' <rajo AT platon.sk>
Copyright (c) 2005-2006 Platon Group, http://platon.sk/
Licensed under terms of GNU General Public License.
All rights reserved.

$Platon: web-apps/fastcgi-gallery/doc/README,v 1.1 2005/09/08 22:14:56 rajo Exp $
vim: ft=78

