Using modified MeetBot

2011/09/30 at 10:54 pm (2010) (, , , , , )

As part of my GSoC project I made some changes to MeetBot. If you want to use it you should:

  1. Install supybot. This should be easy, on Gentoo just
    emerge supybot
  2. Get a copy of modified plugin. You can download it from GitHub. Or if you have git installed you can clone official repository:

    git clone git://git.overlays.gentoo.org/proj/council-webapp.git

    or development repository:

    git clone git://github.com/ahenobarbi/Gentoo-Council.git
  3. Add
    $(sources_directory)/bot/ircmeeting
    to your PYTHONPATH (or link it to directory in which you will run supybot).
  4. Link$(sources_directory)/bot/MeetBotto your Supybot plugins directory. On Gentoo you can do it by executingln -s $(sources_directory)/bot/MeetBot /usr/lib64/python2.7/site-packages/supybot/plugins
  5. Configure supybot. Remember to enable MeetBot plugin:
    supybot-wizard
  6. Configure MeetBot. In directory with your supybot configuration create file
    meetingLocalConfig.py
    and in the file put customized version of (please fix indentation):
    class Config(object):
    # Meeting management urls
    voters_url = 'http://localhost:3000/users/voters'
    agenda_url = 'http://localhost:3000/agendas/current_items'
    result_url = 'http://localhost:3000/agendas/current_items'
    # Credentials for posting voting results
    voting_results_user = 'user'
    voting_results_password = 'password'
    # You must set this - it's turned off by default
    manage_agenda = True

    there are some more options but those above should be enough to get started.
  7. Run supybot and try out the bot:
    supybot $(your_config_name).conf
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: