GOZERBOT 0.9.1 README

welcome to GOZERBOT ;] see http://gozerbot.org

0.9.1 Requirements

  • a shell
  • python 2.5
  • setuptools
  • gnupg
  • simplejson
  • sqlalchemy

install

!! make a separate user and group for the bot !!

(local)

(global)

  • run “easy_install gozerbot gozerplugs”

config

  • run gozerbot-init
  • edit gozerdata/mainconfig and gozerdata/fleet/default/config

start the bot

  • gozerbot-start is for bots running from ~/.gozerbot
  • otherwise use the gozerbot program .. gozerbot (global) or ./bin/gozerbot (local)
  • if you want to run the bot as a daemon do “gozerbot >> log 2>&1 &”

plugin configuration

  • plugin config can be done with the <plugname>-cfg command usage:

    !<plugname>-cfg                   ->      shows list of all config
    !<plugname>-cfg key value         ->      sets value to key
    !<plugname>-cfg key               ->      shows list of key
    !<plugname>-cfg key add value     ->      adds value to list
    !<plugname>-cfg key remove value  ->      removes value from list
    !<plugname>-cfg key clear         ->      clears entire list
    !<plugname>-cfgsave               ->      force save configuration to disk
  • or edit gozerdata/plugs/<plugname>/config

notes

  • we are on #dunkbots IRCnet
  • MAKE REGULAR BACKUPS OF YOUR BOT DIRECTORY
  • see http://gozerbot.org for the bot’s documentation

database support:

  • gozerbot now uses sqlalchemy which will created the tables needed
  • sqlite3 is now default
  • for mysql support:

==> since we use utf-8 now mysql version 5 is required for non ascii users

  1. create the bot database in mysql: CREATE DATABASE gb_db;
  2. once you’ve done that add mysql access rules for the bot user: GRANT ALL PRIVILEGES ON gb_db.* TO user@host IDENTIFIED by ‘pass’; FLUSH PRIVILEGES;
  3. edit the gozerdata/mainconfig file to set dbtype to ‘mysql’ and dbname to ‘gb_db’

upgrading

  • run gozerbot-upgrade <oldbotdir> <newbotdir> .. 0.7 upgrading is not supported yet

LAST NOTE

check http://blog.gozerbot.org for security “need to upgrade” notices. put a rss watcher on it ;]

Table Of Contents

Previous topic

Welcome to GOZERBOT’s documentation!

Next topic

FAQ

This Page