Giter Club home page Giter Club logo

inquire's Introduction

Inquire Cisco Spark Bot

Written by Aman Chhabra

Build Status Coverage Status GitHub stars GitHub license Deploy


Description

Inquire helps you ask questions and get answers. It was created to address the forum style nature of business messaging channels. It tracks all questions asked and allows peers to answer. It also contains a frontend where you can view a curated FAQ list.


Deployment

To configure Inquire for your environment there are 2 ways to deploy:

  1. Heroku (Deploy to Heroku button above)
  2. Docker (automated build here)

You will need the following:

  1. Cisco Spark Bot Token (required) here
  2. Cisco Spark Integration (required) here
  • Save your Oauth Client ID and Client Secret (required)

  • For the Redirect URI put in:

    https://{YOUR-APP-FQDN}/auth/ciscospark/callback
    OR
    https://{HEROKU-APP-NAME}.herokuapp.com/auth/ciscospark/callback (Heroku Deploy)

  • You will need these permissions:

    • spark:people_read Read your users’ company directory
    • spark:rooms_read List the titles of rooms that your user’s are in
    • spark:messages_write Post and delete messages on your users’ behalf
    • spark:teams_read List the teams your users are in
  1. An accessibile MongoDB Instance to store the Q&A Data (optional with heroku deploy)
  2. Botkit Studio Token (optional)

Environment Variables

Set the following environment variables:

EV Name Description
BOT_NAME The name of your Cisco Spark Bot
PUBLIC_ADDRESS The public DNS that you app will be accessible at.
ACCESS_TOKEN Cisco Spark Bot Access Token From (1)
MONGODB_URI MongoDB Connection String
OAUTH_CLIENT Oauth Client ID From (2)
OAUTH_SECRET Oauth Client Secret From (2)
STUDIO_TOKEN BotKit Studio Token from (3)
SECRET Webhook Token Secret
JWT_SECRET Secret used to sign JWT
PT_HOST PaperTrail Logging Host
PT_PORT PaperTrail Logging Port
HOST Hostname for your server

inquire's People

Contributors

achhabra2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

inquire's Issues

Incorrect oAuth Redirect URI

I have deployed the Docker Image for testing however the Redirect URI listed in the README is incorrect.

The OAuth Authorization URL is using https:///auth/ciscospark/callback

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.