Changes to configuration files often require restarting Avalon to take affect. They also require Resque Sidekiq (the background jobs processor) to be restarted.
It's recommended to override the default settings by creating a
You can also use environment variables, for example
Since the Config gem doesn't support arrays in environment variable,
|Table of Contents|
Avalon Web Application
|Contents||Environment-specific Avalon configuration options|
name: 'Avalon' # used in page titles
- :name: My LDAP Server
Managing Master Files explains available strategies for how avalon can handle master files after they have been processed.
Bibliographic Import Configuration explains how to configure Avalon to import metadata from an external source such as an OPAC.
Config overwrites should be placed in
If using env var, set
|Purpose||Environment-specific database connection information for Rails.|
|Notes||See Configuring a Database in the Ruby on Rails Getting Started Guide for more options. Changing the database adapter will require updating Gemfile to require the correct adapter. Here are the instructions for installing the mysql adapter called mysql2.|
|Contents||Environment-specific Fedora repository connection information for Hydra|
Configuration for optional Intercom feature. Allows this instance on Avalon to push contents to another instance of Avalon.
Intercom utilizes the Ingest API and requires an API token to connect. This token is generated on the target Avalon with `bundle exec rake avalon:token:generate username=archivist email@example.com`
The streaming files will remain in place. Both instances of Avalon must be able to stream from that location.
|Purpose||Environment-specific Solr connection information for Hydra|
|Contents||Role groups and associated members to initialize the Hydra access controls database with|
|Notes||Example environments: development, production, test. So the filename would look like role_map_production.yml for the production environment.|