Coder Social home page Coder Social logo

bridgebot's Introduction

Steps to deploy:

1. Deploy to a Azure Web Services or use ngrok to create a tunnel. You will need to run the bot on a an http/s endpoint. Even though the bot isn't ready, we still need the URL that it will be using for the later steps.
  • (optional)start ngrok with "ngrok http -host-header=rewrite 3979"
2. Create a Bot in Azure Bot Services under "Bot Channels Registration",
  • Use your http endpoint during creation
  • Go to Settings > Manage Microsoft App ID
  • Copy the application Id and copy a newly generated password
  • Paste both the ID and the Secret into your web.config and update your site
3. Go to Channels and enable the Teams channel
4. Go to Channels and enable the Slack channel
5. Go to your Teams channel and configure an Incoming Webhook. Use the same as your bot
6. Configure Webhook URIs in Web.config
  • Use the bot application webhook url from slack as the value for the SlackURI key
  • Use the configured Incoming webhook from teams as the value for the TeamsURI key
7. Do a final clean and build. Publish to a folder.
8. Prepare the PublishOutput folder by creating or updating a manifest.json. Instructions at https://docs.microsoft.com/en-us/microsoftteams/platform/publishing/apps-package
  • Change the id and BotId key values to your Microsoft AppId inside of the manifest.json
  • Add two images, one in 96px96px color named color.png and one in 20px20px white named outline.png
9. Zip the contents of the PublishOutput folder into a file and sideload into teams, following instructions at https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/apps/apps-sideload

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.