Image gallery built on top of sinatra, mongoid and dragonfly
CSS JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
public
seed_files
views
.gitignore
.ruby-version
Gemfile
Gemfile.lock
LICENSE.md
README.md
app.rb
config.ru
seed.rb

README.md

Sinatra Gallery App

Includes

!!WORK STILL IN PROGRESS!!

Make it work

  • bundle install
  • start mongodb
  • create tmp and upload directories (mkdir tmp upload) and make them writable for your Apache
  • install ImageMagic (apt-get -y install imagemagick or yum -y install ImageMagick.x86_64)
  • install memcached for production caching
  • rename ./config/config.yml_default to ./config/config.yml and change the setting of title, username and password and most important token
  • use the seed file ruby seed.rb

TODO

  • image handler exception
  • store already loaded images in session
  • huge multiupload of images causes failed images to load in gallery overview
  • add images per page option to paging
  • add multiple galleries

Copyright

(The MIT license)

Copyright (C) 2013 Michael Skrynski

See LICENSE.md.