Code Monkey home page Code Monkey logo

cloudbot's Introduction

Build Status Dependency Status npm

cloudbot

  • A robot may not injure a human being or, through inaction, allow a human being to come to harm.
  • A robot must obey orders given it by human beings except where such orders would conflict with the First Law.
  • A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

Getting Started

Setup

Setting up your bot is simple. Install the dependencies:

npm install

Usage

With the dependencies installed, starting cloudbot requires the environment variables HUBOT_NAME and ADAPTER be set. The booting sequence will begin with

npm start

Certain scripts may require other environment variables to be set. Check out the documentation for each of these scripts, as it will provide the proper information.

Included Scripts

Community

Demos

Please check out our YouTube videos to learn more about cloudbot and how quickly your DevOps team can embrace our bot capabilities across a variety of integrations.

Deploying to IBM Bluemix

Before deploying your custom cloudbot to IBM Bluemix, you need to create a manifest.yml file with the properties you need for specific scripts. There is a sample manifest file with minimum required configuration, follow these instructions to customize and deploy a cloudbot to your IBM Bluemix account:

  1. Clone this repo and cd to the the folder where you have this repo.

  2. If you have not already logged into IBM Bluemix, use the following commands to login:

cf api https://api.ng.bluemix.net/
cf login
  1. Create Cloudant and Watson Natural Language Classifier services.
cf cs cloudantNoSQLDB Shared cloudbot-cloudant
cf cs natural_language_classifier standard cloudbot-nlc
  1. Copy the manifext_sample.yml to manifest.yml and update the properties in manifest file, based on the scripts you need for your bot.

  2. Deploy your bot to IBM Bluemix.

cf push -f manifest.yml
  1. It will take several minutes to deploy the node application to IBM Bluemix. Once your application is started, you should be able to interact with the newly deployed bot from your Slack account.

Enhancing

More functionality can be added to cloudbot; it knows no limits. Add the script to the dependency list in package.json, and reference that script in the array of external-scripts.json.

License

See LICENSE.txt for license information.

Contribute

Please check out our Contributing Guidelines for detailed information on how you can lend a hand.

cloudbot's People

Contributors

chambrid avatar ramaboggarapu avatar todkap avatar nsand avatar aeweidne avatar jonhoughton avatar kurtismgit avatar

Watchers

Vetrivel S 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.