summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-24 17:17:26 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-24 17:17:26 +0000
commitc27cc05f7b47278202f3ef6cda4b85b09a8edbdf (patch)
tree5a2c1951ff4f623be9b8b1196fb286af8fe27f47 /INSTALL
parenta2a663220542b0731f0f6695522598aed8d886de (diff)
issue63, license-, readme- and install-file
git-svn-id: file:///var/lib/svn/phpfspot/trunk@252 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL36
1 files changed, 36 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..3eb09b2
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,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.