public
Fork of shingara/pictrails
Description: A fork of Pictrails with a photo-blog like frontpage, and other added features.
Homepage:
Clone URL: git://github.com/unilogic/pictrails.git
Benjamin Allen (author)
Thu Sep 03 00:19:11 -0700 2009
commit  a18f3dc6eab3a78e5886eba4d4e70fd6f309d5a4
tree    4dc2cdf6f4d5c0e94f69639dae157acd8c68d54f
parent  0d29a0061dfc40692b0251f964c6774833ea06f0
pictrails / README.txt
100755 86 lines (63 sloc) 2.917 kb
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
h1. Pictrails
 
A Web Photo Gallery, written with Rails 2.3.3 and Ruby 1.9. Pictrails can manage several photo galleries.
 
h2. Features
 
 * Photo-blog like front page based on any gallery or customizable by selecting any picture from any gallery
 * Create several galleries
 * Add several pictures in a gallery
 * Import pictures into a new gallery from a directory in same server of Pictrails
 * Show EXIF information from the picture
 * Download original photo
 * Admin interface with login to add/edit/delete galleries, pictures, manage settings, and users
 ** Define the thumbnails and pictures size in settings interface
 ** Delete the cache page in settings interface
 ** Define the number of pictures per page in a gallery
 ** Define the number of galleries per page
 ** Enable/Disable Showing of EXIF info and download original photo
 ** Regenerate thumbnails and shown pictures based on new dimensions (BROKEN CURRENTLY)
 
h2. Requirements
 
 * Ruby On Rails 2.3.3
 * Ruby 1.9.1 or greater
 * A database supported by Rails ActiveRecord (MySQL, PostgreSQL, SQLite3, ...)
 * Ruby drivers for your database
 * A gem of an image-handling API:
 ** ImageScience - preferred
 ** RMagick
 * The mini_exiftool gem and dependancies
 ** exitftool - http://www.sno.phy.queensu.ca/~phil/exiftool
 
h2. Installing
 
With the tar.gz or any other archive:
 
 * Extract sources to a folder
 * If running from Git clone, run:
 ** git submodule init
 ** git submodule update
 * Create a database.yml file in the config directory. You can copy the database.yml.example
 * Create your databases: <kbd>rake db:create:all</kbd>
 * Migrate your database: <kbd>rake db:migrate</kbd>
 * Start the server in production mode : <kbd>ruby script/server -e production</kbd>
 
h2. Updating
 
With the tar.gz, any other archive or git clone:
 
 * Extract sources into a new location
 * Copy from the old location
 ** RAILS_ROOT/temp_photos
 ** RAILS_ROOT/original_photos
 ** RAILS_ROOT/public/pictrails_thumbnails
 ** RAILS_ROOT/config/database.yml
 ** RAILS_ROOT/db/production.sqlite3
 * If running from a new Git clone, run:
 ** git submodule init
 ** git submodule update
 * Migrate your database: <kbd>rake db:migrate</kbd>
 * Start the server in production mode : <kbd>ruby script/server -e production</kbd>
 
h2. Demo Website
 
I'm currently running this fork of Pictrails at http://benallenphoto.com
 
h2. Information about this project
 
Pictrails is still in beta, is under development, and likely always will be :-)
 
All contributions are welcome.
 
If you want to contribute, all work is made under a Git repository. You can clone the
source with the following command :
 
<kbd>git clone git://github.com/unilogic/pictrails.git</kbd>
 
After a clone you need update the submodule :
 
<kbd>git submodule init</kbd>
<kbd>git submodule update</kbd>
 
h2. License
 
This code is free to use under the terms of the MIT license (provided with sources).