Sha256: 474632704f550b331774ee2f1722344c88dc731314ff6e08ef8a3098cfb8fe4e
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 KB
Contents
# ComfyGallery [![Build Status](https://secure.travis-ci.org/comfy/comfy-gallery.png)](http://travis-ci.org/comfy/comfy-gallery) [![Dependency Status](https://gemnasium.com/comfy/comfy-gallery.png)](https://gemnasium.com/comfy/comfy-gallery) ComfyGallery is an image gallery engine for Rails 3.1 apps. Also it integrates with ComfortableMexicanSofa CMS Engine ## Installation Add gem definition to your Gemfile: gem 'comfy_gallery' Then from the Rails project's root run: bundle install rails generate comfy:gallery rake db:migrate ## Usage You can immediately access admin area by going to /admin/galleries. If you are using ComfyGallery on it's own take a look in the initializer: [/config/initializers/comfy\_gallery.rb](https://github.com/comfy/comfy-gallery/blob/master/config/initializers/comfy_gallery.rb) You probably want to set the admin controller to be something that handles user authentication within your app. Same goes for the admin\_route\_prefix. If you are using ComfyGallery in conjunction with ComfortableMexicanSofa everything will be configured automatically. There's no front-end to this engine. Feel free to access galleries like such: `Gallery::Gallery.find_by_identifier('my_gallery)` and cycle through the `photos`. Also you may use provided [ColorBox](http://jacklmoore.com/colorbox/) javascript to display galleries. Just declare these for asset pipeline // in app/assets/javascripts/application.js //= require comfy_gallery/jquery.colorbox // in app/assets/stylesheets/application.css //= require comfy_gallery/colorbox --- CMS Gallery is released under the [MIT license](https://github.com/twg/sofa-gallery/raw/master/LICENSE) Copyright 2011 The Working Group
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comfy_gallery-0.1.3 | README.md |
comfy_gallery-0.1.2 | README.md |