Giter Site home page Giter Site logo

vexbot's Introduction

vexbot

Build StatusCode ClimateCoverage Status

Pluggable bot

Under heavy development. Not ready for general use outside of driving chatimusmaximus

Requires python 3.5

Installation

recommend running out of a virutalenv

So activate your virual environment and run:

pip3 install vexbot

Configuring

Base your configuration on the default settings. The configuration handeling hasn't been user proofed so if you're getting errors, that's a good place to start.

Configuring Addresses

Vexbot uses messaging and subprocesses for different services. This has some advantages/disadvantages of this approach, but the reason it's staying is it allows the developer some decreased congnitive load while developing this project.

The address expected is in the format of tcp://[ADDRESS]:[PORT_NUMBER]. For example tcp://127.0.0.1:5617 is a valid address. 127.0.0.1 is the ADDRESS and 5617 is the PORT_NUMBER.

127.0.0.1 was chosen specifially as an example because for IPV4 it is the "localhost". Localhost is the computer the program is being run on. So if you want the program to connect to a socket on your local computer (you probably do), use 127.0.0.1.

Port numbers range from 0-65536, and can be mostly aribratry chosen. For linux ports 0-1024 are reserved, so best to stay away from those. Port 5555 is usually used as an example port for coding examples, so probably best to stay away from that as well.

The value of the publish_address and subscribe_address at the top of the settings file are likely what you want to copy for the publish_address and subscribe_address under shell, irc, xmpp, youtube, and socket_io if you're running everything locally on one computer. But you don't have to. You could run all the services on one computer and the main robot on a different computer. You would just need to configure the address and ports correctly, as well as work through any networking/port issues going across the local area network (LAN).

Running

if everything is in your path correctly, open a console and run

vexbot --settings_path /path/to/your/settings/here

as a short hand

vexbot --s /path/to/your/settings/here

or you can set the environmental variable VEXBOT_SETTINGS to be the absolute path to your settings file

vexbot's People

Contributors

holzhaus avatar benhoff avatar shbhrsaha avatar astahlman avatar alexsiri7 avatar alexbate avatar andybee avatar claidiere avatar webmariner avatar albrnick avatar dag0310 avatar

Watchers

Anung Ariwibowo 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.