espen / balder

Balder - Open source Ruby on Rails photo gallery
http://balderapp.com
MIT License
262 stars 97 forks source link

Welcome to Balder photo gallery

Made by Espen Antonsen.

Version 1.3.0 for Rails 3.2. See the rails2 branch for previous version.

http://balderapp.com

Example gallery: http://photos.inspired.no

Features

Optional image processing

Default Balder uses mini_magick and mini_exiftool_vendored.

Optional:

Configuration

config/balder.rb has the following adjustable settings:

As these are environment variables you can easily add them to Heroku. For a brief introduction to how to set up Balder on Heroku see this blog post.

Installation

  1. Clone the project from GitHub or Gitorious: GitHub: git clone git://github.com/espen/balder.git
  2. Install required software listed above
  3. 'bundle install' to install required gems.
  4. Adjust the settings in balder.rb or as Heroku config variables (See configuration above)
  5. Copy database file (not needed when hosting on Heroku): cp config/database.example.yml config/database.yml
  6. Create database user and edit database file. (unless on Heroku or using SQLite3)
  7. rake db:create
  8. rake db:migrate
  9. Start up the project with your preferred web-server

Optional: add photos directly to disk

The gallery has a web-based upload tool. Alternatively you can upload files directly to the upload folder. This means you can import an existing folder based photo collection to Balder.

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

This format is recommended:

Every time you manually add photos to disk you must scan by visiting /photos/scan or run ScanFiles.Scan(false) from the console.

Version history

1.4.0

1.3.0

1.2.3

1.2.2

1.2.1

1.2.0

Todo

Ideas

Patches welcome!

Contributors

Made with help from @formigarafa, @grrowl, @vanicat and @arne.

Copyright and license info

This code is copyrighted by Espen Antonsen. The source code is available free under the MIT License.