Code Monkey home page Code Monkey logo

selbot2's Introduction

Selbot2

IRC bot for the #selenium channel on freenode.

Database

The bot utilizes a PostgreSQL database for persisting data. Follow the installation guides for help getting setup locally.

A database needs to be created and the DATABASE_URL environment variable needs to be set. Typically, localhost is used for development:

DATABASE_URL=postgres://localhost/database

For use in production, the url should be in the form:

DATABASE_URL=postgres://user:password@host:port/database

Required tables will be genereted automatically by the app.

Startup

To run the bot locally, try:

$ bundle install
$ SELBOT_CHANNEL=#my-test-channel bundle exec ruby -I lib bin/selbot2.rb

Note that startup is for unknown reasons quite slow. Disabling plugins may or may not help this.

In production, use:

$ OPEN_ISSUE_INTERVAL=1800 bundle exec ruby -Ilib bin/selbot2.rb

For use with youtube one needs to create an API Key and set that as "youtube.conf" environment variable.

selbot2's People

Contributors

jarib avatar lukeis avatar lmtierney avatar jameszoft avatar illicitonion avatar andreastt avatar ddavison avatar shs96c avatar juangj avatar hazmeister avatar dima-groupon avatar p0deje avatar adamgoucher avatar zavelevsky avatar smccarthy avatar titusfortner avatar corevo avatar

Watchers

James Cloos avatar Lazarus G. avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.