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

README.md

Sinatra Gallery App

Includes

!!WORK STILL IN PROGRESS!!

Make it run

  • 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
  • bundle exec shotgun config.ru for development (a bit of a warning, rack_flash doesn't seem to work with shotgun)
  • bundle exec puma config.ru for production
  • rename ./config/config.yml_default to ./config/config.yml and change the setting of title, username and password and most important token

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

Copyright

(The MIT license)

Copyright (C) 2013 Michael Skrynski

See LICENSE.md.

Something went wrong with that request. Please try again.