X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=README;h=b4d4b1935f8370dc1e16b1ec912f450721c50f00;hp=d2fbb812603b24fafc972f3189af1ff07e96ddd0;hb=f28ee54de58df18b6436d127b6dc06fa95eec8ea;hpb=d057c592ea7adea11dd8584570fb70540758343a diff --git a/README b/README index d2fbb81..b4d4b19 100644 --- a/README +++ b/README @@ -1,7 +1,8 @@ This are some simple php files and bash scripts to display your F-spot -photos including information from the data-base on a webpage. +photos including information from the data-base on a webpage. To get +up and running follow these steps: -You can exclude/include certain tags incase you want for example on +1) You can exclude/include certain tags incase you want for example on show pictures on the web that were tagged "Public". To use the scripts copy config.ini_template to config.ini, edit it and @@ -10,17 +11,22 @@ then run for example f-spot-db-reduce.sh --include='Public' This will create a new smaller database that only contains information -about pictures with the Public tag. Next run +about pictures with the Public tag. + +2) Next run ./create_thumbnails.sh This script creates thumbnails of all pictures and save them in local -directories. I will only create 100 pictures though, so you will need -to run it several times. This is done, so that you can easily run it -via cron for example every hour on a remote server without creating -jobs that last forever. +directories. I will only create 50 pictures at a time though, so you +will need to run it several times. This is done, so that you limit the +time this tasks run, so that it doesn't get shut down on for example +rented web-space where execcive CPU uses is an issue. + +3) install .htaccess -Ones this is done you can visit index.php and everything should be working. +edit the "RewriteBase" in the htaccess_template file and rename it to .htaccess. +Onces this is done you can visit index.php and everything should be working. Feel free to fork, send in patches, make suggestions.