Installation/Pentabarf Configuration

From Pentabarf

Jump to: navigation, search

The Pentabarf configuration files are located in the config directory of your checkout. For all files described here there is a template file you may to copy.

database.yml

This is the file describing the way Pentabarf connects to the database. You should adjust it to reflect your setup. The important section in this file is the production section. The other sections are not used in normal operation.

 production:
  adapter: postgresql
  database: pentabarf
  host: localhost
  username: pentabarf
  password:

jabber.yml

This is the configuration file for sending debug messages via jabber. You don't have to configure this if you don't want to receive debug output with jabber, but I recommend using it because it's much easier to find bugs with jabber debug output enabled. The following table describes the meaning of the fields.

Field Value
jabber_id Jabber-ID of the component including resource (it won't work if you forgot the resource)
server hostname of the server you are using
port port to connect to on the server
password password of the jabber account
socket_path filename for the socket opened by the bot
recipients list of recipients for the debug messages each recipient stands on an extra line starting with a dash

mail.yml

This is the configuration file for the mail subsystem. You don't have to configure this if the system running your Pentabarf installation has mail delivery configured locally otherwise you have to edit this file to reflect your setup.


Back to Installation

Personal tools