Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
jotrick edited this page May 11, 2017 · 14 revisions

Steps to get started running in the bot emulator

Get VSCode:

Install Node:

Install Gulp globally - run:

  • npm install --global gulp

Install the bot Emulator - click on "Bot Framework Emulator (Mac and Windows)":

Install Git for windows:

Clone this repo:

Get the npm modules - in the microsoft-teams-bot-template directory run:

  • npm install

Open microsoft-teams-bot-template with VSCode

In VSCode go to the debug tab on the left side (looks like a bug) and click the play button

Once the code is running you can now connect and chat with the bot using the emulator

We apologize and realize this is very lacking in regards to documentation - more will be coming shortly

  • Notice that an easy way to create a new dialog is to simply copy one that is in src/dialogs, change it accordingly, and then instantiate it with the others in the RootDialog.ts
  • Also note that breakpoints made in VSCode in the typescript files function correctly

NOTE: install ngrok to get Teams to easily work with a locally running bot: