GithubHelp home page GithubHelp logo

chatbot-demo's Introduction

How to Build a ChatOps Bot

This repo provides the required code, relating to the following articles, around - How to Build a ChatOps Bot.

  • How to Build a Webex Teams Chatbot

Load Environment Variable

Set your environment variables by copying the example .env and defining your settings. Once done run export $(cat .env | xargs) to export your environment variables.

cp .env-example .env

Create Environment

Next create a virtual environment and load your Python dependancies.

virtualenv --python=/usr/bin/python3 venv
source venv/bin/activate
pip install -r requirements.txt

Install System Dependancies

Install the required system dependancies via apt-get, or via the nesscary package manager for your distribution.

apt-get install ipcalc

Setup Ngrok

Download Ngrok into /opt via the instructions on https://dashboard.ngrok.com/get-started/setup. Once done, set your auth token and start your Ngrok tunnel.

/opt/ngrok authtoken ${NGROK_TOKEN_ENV}
/opt/ngrok http -subdomain=chatop 5030

Execute Chatbot

You can now start the Chatbot via:

python chatbot/webex_teams_bot.py

chatbot-demo's People

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.