Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow wrapper configuration file to be read from rails config dir #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow wrapper configuration file to be read from rails config dir #20

wants to merge 1 commit into from

Conversation

mark-dce
Copy link
Contributor

@cbeer would you be open to a change like this to let the wrapper config be read from a .yml config file in the rails application's config directory if such a config file exists?

Order of precedence (highest to lowest):

  • command line parameters
  • ./config/fcrepo_wrapper.yml (assumes you're launching from your application root, ignored)
  • .fcrepo_wrapper (hidden file in the root of whatever project you're working on)
  • ~/.fcrepo_wrapper (hidden file in the logged-in user's home directory)

@atz
Copy link

atz commented Nov 2, 2016

A symmetric change should be made in solr_wrapper, too, assuming this gets in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants