bcwik9 / s3-pic-gallery

Takes a S3 bucket of images and compresses them and generates thumbnails for a simple web image gallery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

  • set up AWS CLI, and credentials
  • Rmagick requires some extra libraries: sudo apt-get install imagemagick libmagickwand-dev
  • bundle install
  • set environment var S3_BUCKET_NAME to whatever bucket you want to process images out of
  • run rake pictures:import
  • bundle exec rails server, and you're done!

About

Takes a S3 bucket of images and compresses them and generates thumbnails for a simple web image gallery


Languages

Language:Ruby 75.8%Language:HTML 15.4%Language:CSS 6.1%Language:JavaScript 1.9%Language:CoffeeScript 0.9%