Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Avalon Web Application

config/authentication.yml

PurposeDefines the Authentication Providers for Avalon to choose from.
FormatYAML
Example
---
- :name: My LDAP Server
:logo: auth_provider_logo.png
:provider: :ldap
:params:
:method: :ssl
:host: ldap.example.edu
:port: 636
:bind_dn: cn=avalon,ou=service,dc=example,dc=edu
:password: avalon_bind_password
NotesThe name and logo settings are used when displaying multiple auth providers to choose from at login time. provider and params are passed directly to config.omniauth as described in the Devise OmniAuth Overview.
  

config/database.yml

PurposeProvide environment-specific database connection information for Rails.
FormatYAML
Example
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000 
NotesSee 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.
  

config/fedora.yml

PurposeProvide environment-specific Fedora repository connection information for Hydra.
FormatYAML
Example
development:
user: fedoraAdmin
password: fedoraAdmin
url: http://127.0.0.1:8983/fedora
  • No labels