Giter Site home page Giter Site logo

hubot-slack-docker's Introduction

hubot-slack-docker

Container running GitHub Hubot with a plugin to connect to a Slack team. Some environment variables have to be set to permit connection with a Slack account in a specific channel.

This repository is connect to DockerHub to create an image automaticaly. So you just need run a docker container where the source is pedrocesarti/hubot.

Running container

To run this container, you should running the command available below:

docker run --name mybot -it  -e HUBOT_SLACK_TOKEN='#######' -e Hubot_SLACK_TEAM='#######' -e Hubot_SLACK_BOTNAME='#######' -d pedrocesarti/hubot-slack

Environment Variable

The variables set on runnning is used to connect on Slack account, Slack channel and to set a name for your bot send messages. You can read more about integrations with Slack and generate the token to connect here.

Variables Function
HUBOT_SLACK_TOKEN Token generate for Slack integration.
Hubot_SLACK_TEAM Account for connection team.
Hubot_SLACK_BOTNAME Name for user used for Hubot to connect to account.

Some Hubot scripts used to use Google API to make searches on Internet, however Google disable that resource and couple scripts broke. So now you have to create a SEARCH ENGINE and connect that to you own GOOGLE API. You can read more about theses issues at the end of this file, but in general you only need put those variables on container environment and everything is going to work.

Variables Function
HUBOT_GOOGLE_CSE_ID Id to connect a Google accountToken generate for Slack integration.
HUBOT_GOOGLE_CSE_KEY Account for connection team.

Enjoy! :)

hubot-slack-docker's People

Contributors

pedrocesarti avatar cs-pedro-azevedo avatar

Watchers

James Cloos avatar Willian 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.