public
Fork of shingara/pictrails
Description: A fork of Pictrails with a photo-blog like frontpage, and other added features.
Homepage: http://ballen.lighthouseapp.com/projects/13722-pictrails
Clone URL: git://github.com/unilogic/pictrails.git
Search Repo:
name age message
folder .gitignore Tue Jul 15 23:15:24 -0700 2008 Initial support for swfupload a Flash upload ut... [Ben Allen]
folder .gitmodules Mon Jun 23 18:36:41 -0700 2008 Added yaml_db as a submodule. [Ben Allen]
folder History.txt Tue Jun 17 12:42:49 -0700 2008 More merging from upstream. Atom feed broken as... [Ben Allen]
folder MIT-LICENSE Tue May 06 20:43:12 -0700 2008 Updated license file with Cyril, and my names. ... [Benjamin Allen]
folder Manifest.txt Tue Jun 17 12:42:49 -0700 2008 More merging from upstream. Atom feed broken as... [Ben Allen]
folder README.txt Tue Jun 17 20:11:24 -0700 2008 Migrated to upstream method of breadcrumb. Modi... [Ben Allen]
folder Rakefile Wed Mar 12 09:50:47 -0700 2008 * Delete dependance of hoe, because he has def... [shingara]
folder app/ Mon Sep 01 20:29:36 -0700 2008 Few more tweaks for disqus stlying and such. [Ben Allen]
folder config/ Tue Jul 22 16:53:21 -0700 2008 Commented out ruby-debug [Ben Allen]
folder db/ Mon Aug 25 10:58:57 -0700 2008 Added ability to specify a logo image from the ... [Ben Allen]
folder lib/ Sun Jul 20 19:14:07 -0700 2008 Few bug fixes for image_regen [Ben Allen]
folder log/ Wed Feb 27 12:25:15 -0800 2008 * First import of Pictrails for mercurial repo... [shingara]
folder public/ Mon Sep 01 20:29:36 -0700 2008 Few more tweaks for disqus stlying and such. [Ben Allen]
folder script/ Wed Feb 27 12:25:15 -0800 2008 * First import of Pictrails for mercurial repo... [shingara]
folder spec/ Tue Jun 17 12:42:49 -0700 2008 More merging from upstream. Atom feed broken as... [Ben Allen]
folder stories/ Wed Apr 30 15:00:29 -0700 2008 Add a view of progress in mass_upload [shingara]
folder vendor/ Mon Sep 01 19:28:02 -0700 2008 Added Disqus Commenting support on picture show... [Ben Allen]
folder website/ Tue May 06 20:43:12 -0700 2008 Updated license file with Cyril, and my names. ... [Benjamin Allen]
README.txt
h1. Pictrails

A Web Photo Gallery, written with Rails 2.1. 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

h2. Requirements

Currently you need all of those things to get Pictrails to run:

 * Ruby On Rails 2.1.x or greater
 * Ruby 1.8.7 (Rails 2 is not yet ruby 1.9 compatible)
 * A database supported by Rails ActiveRecord (MySQL, PostgreSQL, SQLite3, ...)
 * Ruby drivers for your database
 * A gem of an image-handling API like :
 ** 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
 * 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 or any other archive:

 * Extract sources and replace all in the old folder
 * Stop the server
 * Migrate your database: <kbd>rake db:migrate</kbd>
 * Start the server in production mode : <kbd>ruby script/server -e production</kbd>

h2. Demo Website

A demo website of Pictrails is available to the "demo of pictrails":http://pictrails.shingara.fr

The "admin part":http://pictrails.shingara.fr/admin has like login/pass : admin/pictrails

h2. Information about this project

Pictrails is still in beta, and is under development.

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/shingara/pictrails.git</kbd>

After a clone you need update the submodule :

<kbd>git submodule init</kbd>
<kbd>git submodule update</kbd>

A "redmine development platform":http://dev.shingara.fr/projects/show/3 is
used. Feel free to post your feature requests and bug reports.

h2. License

This code is free to use under the terms of the MIT license (provided with sources).