Open source Ruby on Rails photo gallery
Find a file
2010-12-20 22:31:29 +01:00
app One forgotten error with validation 2010-12-20 22:31:29 +01:00
config correct routes for users resources. 2010-12-20 19:38:32 +01:00
db various rails3 migrations 2010-10-11 16:03:34 +02:00
doc initial commit 2009-05-22 14:13:46 +02:00
features and another one.. 2010-09-27 15:19:54 +02:00
lib i can haz railz 3 2010-09-17 17:57:33 +02:00
public jquery 1.4.2 rails jquery plugin. paths for redirecting to current album/collection 2010-10-11 17:47:50 +02:00
resources/DummyHTML added dummyhtml 2009-06-09 21:38:32 +02:00
script i can haz railz 3 2010-09-17 17:57:33 +02:00
spec acts as permissible 2009-06-05 14:18:03 +02:00
test i can haz railz 3 2010-09-17 17:57:33 +02:00
vendor/plugins block rails3 2010-09-17 18:52:59 +02:00
.gitignore stuff 2010-09-21 21:27:38 +02:00
config.ru i can haz railz 3 2010-09-17 17:57:33 +02:00
Gemfile Let use more rails and gems. 2010-11-17 15:50:11 +01:00
Gemfile.lock Let use more rails and gems. 2010-11-17 15:50:11 +01:00
LICENSE GNU license 2009-07-31 16:04:56 +02:00
Rakefile i can haz railz 3 2010-09-17 17:57:33 +02:00
README issues on rails3 2010-09-21 22:37:08 +02:00

== Welcome to Balder photo gallery

Made by Espen Antonsen.

Version 1.2 for Rails3 Beta

Issues:
- carrierwave not saving to model, only to disk (testet on ubuntu)
- jpg files not being upload, no error written to log (testet on osx)

http://balderapp.com

== Features

* Stores photos to disk in folders or on S3 (can run from Heroku...yay)
* Create multiple thumbnails of custom sizes
* Read and writes EXIF/IPTC title, description and keywords
* Organize in albums (as events in iPhoto)
* Combine albums in collections (as albums in iPhoto)
* Upload multiple photos
* Tag photos. Can also tag albums (actually all photos in album is tagged)
* User management with roles and permissions
* Geo-location of albums & photos with Google Maps integration.

== License

Free for personal use. Contact me for commercial license.

== Requirements

Rails 3.0

Software
- RMagicK (required for Carrierwave resizing). Can also use ImageScience
Optional:
	- ExifTool (required for Mini_EfixTool)

Ruby Gems
- AuthLogic
- Mime-Types
- Carrierwave
Optional:
	- AWS/S3 (if saving to Amazon s3)
	- Mini_Exiftool (to read exif info to database. See photo.rb model)

== Installation

1. Clone the project from GitHub or Gitorious:
	GitHub: git clone git://github.com/espen/balder.git
	Gitorious: git clone git://gitorious.org/gallery-without-a-name/gallery-without-a-name.git
2. install required software listed above
3. Copy settings file:
	cp gallery/config/database.example.yml gallery/config/database.yml
	cp gallery/config/settings.example.yml gallery/config/settings.yml
4. Create databsae user and edit settings files.
5. rake db:create
6. rake db:migrate
7. Start up the project with your preferred web-server

=== Optional: add photos directly to disk

The gallery has a web-based upload tool using Flash. Alternatively you can upload files directly by doing this:

Put photos in containing folders(albums) in the specified gallery folder.
Hierarchy of folders is not fully supported.

This format is recommended:

./ski weekend in hemsedal/snow.jpg
./ski weekend in hemsedal/afterski.jpg
./trip to iran/beautiful girls in tehran.jpg
./trip to iran/mosque in yazd.jpg
./trip to iran/powder snow in dizin.jpg

Every time you manually add photos to disk you must scan by visiting /photos/scan

In future releases the scan will be automated.

== Copyright and license info

This code is copyrighted by Espen Antonsen. The source code is available free under the GNU General Public License version 3 (GPLv3).

If the GPLv3 is not suitable for you please contact me for an alternative license for a fee.