Project

ddr-batch

0.0
No commit activity in last 3 years
No release in over 3 years
Batch processing for Duke Digital Repository
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

Runtime

~> 3.4
>= 0
~> 4.2.0
~> 4.1.13
 Project Readme

ddr-batch

A Rails engine providing batch processing functionality for the Duke Digital Repository.

Installation

Add to your application's Gemfile:

gem 'ddr-batch'

and

bundle install

Configuration

User model

Include Ddr::Batch::BatchUser in app/models/user.rb.

class User < ActiveRecord::Base

  # DO NOT REMOVE:
  # Blacklight::User
  # Ddr::Auth::User
  #
  include Ddr::Batch::BatchUser

end

Ability class

Add Ddr::Batch::BatchAbilityDefinitions to the list of ability_definitions.

class Ability < Ddr::Auth::Ability

  self.ability_definitions += [ Ddr::Batch::BatchAbilityDefinitions ]

end

Migrations

Install the ddr-batch migrations:

rake ddr_batch:install:migrations

then

rake db:migrate

rake db:test:prepare