Skip to content

zlorfi/sinatra-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Image gallery built on top of sinatra, mongoid and dragonfly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors