Skip to content

system configuration

stakach edited this page Jul 3, 2012 · 3 revisions

System Configuration

Most of the configuration is done in the database however there are a few options that can be set in an initializer.
AutomateEm provides the following object to set these items: Application.config.automate

  1. module_paths an array of paths to look for modules (for non-normative locations)
  2. log_level defaults to Logger::INFO, this can be configured in your environments
  3. encrypt_key used to encrypt sensitive settings (device passwords etc)
    • For example: Application.config.automate.encrypt_key = "Lri2B0yvEVag+raqX9uqMFu9LmGoGwbaO8fzNidf"
  4. datagram_port the port the datagram server will use.
    • The default is 0, meaning a different ephemeral port each time