summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 3eb09b23cabfc772111d6713feff34ba9f4cff75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
phpfspot install howto:

* requirements
 
 - apache/apache2 (in fact any webserver which supports php)
 - php5
   - the following extensions must be available
     (compiled in or as shared object):
     * gd
     * sqlite3
   - PEAR extensions (pear install %name%)
     * Calendar
     * HTML_AJAX
 - smarty (php template engine, http://smarty.php.net)
 - sqlite3
  
* installation

 1. copy the sample phpfspot-config-file to your new config file

    cp phpfspot_cfg.php.dist phpfspot_cfg.php

 2. Edit phpfspot_cfg.php and edit the necessary configuration
    parameters. This file also include explanation of each option.
    Take care that the path to the f-spot database (photos.db)
    and the f-spot photo base directory (usally Photos) is set
    correctly.

 3. To pre-create all thumbnails invoke the script gen_thumbs.php

    cd ${phpfspot_home}
    ./gen_thumbs.sh

    thumbnails can also be created on-the-fly by the webserver but
    this will take away a lot of resources of your system during
    thumb-generation.