<commit_before>= AssetGallery

Easy galleries of photos and more built on top of AssetHost.

AssetHost can be found at http://github.com/SCPR/AssetHost

== Requirements

* AssetHost installation, configured in your app via AssetHost[:server] and AssetHost[:token]
* Authentication system that defines @current_user and @current_user.is_admin?
* Layout that looks to @PAGE_TITLE for title info

== Usage

1) Add the plugin to your Gemfile:

    gem 'asset_gallery', :git => 'git://github.com/ewr/AssetGallery.git'

Run `bundle install`

2) Mount AssetGallery's routes.  In config/routes.rb:

    mount AssetGallery::Engine => '/gallery', :as => :gallery<commit_msg>Update README to add example link<commit_after>= AssetGallery

Easy galleries of photos and more built on top of AssetHost.  You can find 
an example implementation on my website at http://ericrichardson.com/gallery/

The client code is a Coffeescript app using Backbone.js.

AssetHost can be found at http://github.com/SCPR/AssetHost

== Requirements

* AssetHost installation, configured in your app via AssetHost[:server] and AssetHost[:token]
* Authentication system that defines @current_user and @current_user.is_admin?
* Layout that looks to @PAGE_TITLE for title info

== Usage

1) Add the plugin to your Gemfile:

    gem 'asset_gallery', :git => 'git://github.com/ewr/AssetGallery.git'

Run `bundle install`

2) Mount AssetGallery's routes.  In config/routes.rb:

    mount AssetGallery::Engine => '/gallery', :as => :gallery
{'fraction_non_alphanumeric': 0.09472981987991995, 'fraction_numerical': 0.00266844563042028, 'mean_word_length': 4.681818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6106667', 'n_tokens_mistral': 476, 'n_tokens_neox': 438, 'n_words': 166}