Sha256: ceafe6d5dcebac5c16d29b2e4c53e4c74425397e5ebf1ba35894e04dcd3ae233

Contents?: true

Size: 1.63 KB

Versions: 5

Compression:

Stored size: 1.63 KB

Contents

# Imagine
[![Travis CI Build Status](http://travis-ci.org/knewter/imagine.png)](http://travis-ci.org/knewter/imagine)

A rails image gallery, that's mountable.  Works on rails 3.1 at least :)
It's still in active development.

* [Github project](http://www.github.com/knewter/imagine)

## USAGE
To use Imagine in your app, simply add it to your Gemfile.  Then, mount it by:

    mount Imagine::Engine, :at => "/imagine"

Install the migrations with:

    bundle exec rake imagine:install:migrations

And run the migrations with:

    bundle exec rake db:migrate

Finally, visit /imagine/albums in your browser to get started.

## TODO
* Build the plugin system
* Build a plugin that ships with core that handles a basic display style
* Allow a user to choose the default display style at album level
* Allow a visitor to look at any album with any display style via a param

## Plugins
New album display types are specified in plugins.

Plugins are just gems.  There is a plugin shipped with the core project called
`imagine_basic_list`.  It should serve as a good template for building your own.

They're just rails engines, that have a bit of configuration logic to let
Imagine know that they should be incuded in the template style lists.


## Testing
I've got this set up to use spork, so just do the following:

In one terminal, do:

    bundle exec spork rspec

In another terminal, once that's done, you can:

    bundle exec rspec spec

## License
This project uses MIT-LICENSE.

## Contributors
Josh Adams (josh@isotope11.com)

Some code (plugin system, .travis.yml) lifted ungraciously from http://github.com/resolve/refinerycms.  Those guys are awesome.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
imagine-0.2.0 README.md
imagine-0.1.7 README.md
imagine-0.1.6 README.md
imagine-0.1.5 README.md
imagine-0.1.4 README.md