Code Monkey home page Code Monkey logo

penfold's Introduction

penfold

penfold is a chat bot to assist the daily activities of a development team that is built on the Hubot framework.

Running penfold Locally

You can start penfold locally by running:

% bin/hubot

You'll see some start up output and a prompt:

[Sat Feb 28 2015 12:38:27 GMT+0000 (GMT)] INFO Using default redis on localhost:6379
penfold>

Then you can interact with penfold by typing penfold help.

penfold> penfold help
penfold standup -- Display latest reports from the team members
penfold standup <standup report> -- record daily standup
...

Configuration

Requires some environment variables to be set to work. See penfold.ts for configuration information.

When running locally setting MONGODB_HOST should be enough depending on the configuration for your local mongo installation.

Example using docker based mongodb:

docker run -p 27017:27017 -d mongo
export MONGODB_HOST=localhost
bin/hubot

Also notice the environment variables required by the adapter. By default penfold uses mattermost and the configuration information for mattermost adapter can be found in here

Deploying on Openshift/Kubernetes

Deployment requires kedge tool. See kedge project for getting started.

Before running the project correct the values on configmap.k.yml and penfold.k.yml to be compatible with your environment.

Use oc or kubectl to connect to your cluster and create a project.

Run the following command to create necessary files

cd kedge
kedge apply -f pvc.k.yml -f secret.k.yml -f configmap.k.yml -f mongodb.k.yml -f penfold.k.yml  

penfold's People

Contributors

amisevsk avatar gorkem avatar maxandersen avatar openshiftio-launchpad avatar syamgk avatar

Watchers

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