samvera / hydra-derivatives

Derivative generation for Samvera repositories
Other
17 stars 25 forks source link

Amending documentation on configuration #180

Closed jeremyf closed 6 years ago

jeremyf commented 6 years ago

Based on conversations on Slack:

Person 1:

I get from Readme of Hydra-derivatives but is not clear for my where can I put in my project

Person 2:

I would guess and say in a config file, such as /config/application.rb, or narrow it down to /config/environments dev/test/prod etc. (edited)

I suppose, another option is putting it inside an initializer just for hydra-derivatives.

Person 3

I found a scholarsphere implementation https://github.com/psu-stewardship/scholarsphere/blob/master/config/initializers/hydra_derivatives_config.rb#L5 However…I think Person 2's suggestion would also work (and allow for less antics if you want variation between environments).