Giter VIP home page Giter VIP logo

baymax's Introduction

Hubot for OTT chat

Install

  1. Prerequisite

    a. git

    b. nodeJS

    c. redis-server

  2. Install

    a. sudo npm install -g yo generator-hubot

    b. yo hubot. Be sure not to overwrite existing files.

    c. Choose rocketchat as adapter when asked

    d. npm install for dependencies

  3. Deploy

Heroku remote URL is [email protected]:baymax-arkena-bot.git

Use

  1. Scripts

Scripts are coffee scripts. Here is a list of communautary scripts: hubot script catalog

Here is the documentation for scripting: scripting

  1. Start and variables

The file start.sh contains the needed environment variables. New ones should be added here. Simply type ./start.sh to launch the bot

For heroku, the variables need to be set separately. A scheduler also needs to be set to wake up the bot each morning. See deploying on heroku and hubot-heroku-keepalive.

For gitlab project listing, the account linked is not an OTTSM only account. Use environment variable GITLAB_NAMESPACE (set to OTTSM) to only show projects from OTTSM group.

  1. Room IDs

Probably due to the rocketchat adapter, the room IDs are not their names. they need to be retrieved manually (look at the logs when the bot connects). They probably only change when a room is closed (no one in there). If the bot cannot send anymore a message to a room, check the room ID.

#osm: bckJYshcTQKkrjHG2
#osm-builds: hpt2WTqxdGauiHpHu
#osm-support: vQQzHs43qYErAXCfB
#general: GENERAL
#funny: 3qFTqzEQPe42yXYdH
#sandbox2: QwyoxgTuxzqPJuLqR

baymax's People

Contributors

nyddogghr avatar

Watchers

Alexandre Bodelot avatar  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.