ibex-dashboard/README.md

3.5 KiB
Исходник Ответственный История

Bot Framedash

This is an application insights based project that displays a bots analytics dashboard.

Preview

Preview Preview

Show With Your Own Data

  1. Clone

  2. Get an Application Insights App ID and Api Key

  3. Run yarn start:dev

  4. Open http://localhost:3000/

  5. Run through setup and afterwards, fill in API Key and Application ID

Deploy To Azure

  1. Fork this repo (to be able to automatically create github deployment key)
  2. Clone & Deploy:
  3. Create a new Web App in Azure

Since application insights API doesn't support ARM yet, we need to manually create an API Key for the application insights service. Once you created the api key, copy and paste it into the Dashboard settings screen.

Create new API Key and Application ID

The following steps explain how to connect Application Insights bot with your bot and your dashboard: [you can also follow the official Application Insights article].

  1. Go to azure portal
  2. Select: Resource Groups > [new resource group] > App Insights Service
  3. Copy Instrumentation Key and paste into your bot registration page (on the bottom)
  4. Click: API Access > Create New Key > + Read Telemetry
  5. Copy Application ID + API Key
  6. Open the URL of your web app
  7. Under AppId/ApiKey set the values you created.

Resources

Used Repos Technologies

Resources

This project is built using:

The server approach was added using:

Thinking about integrating with:

Assumptions

  1. Running node version 4.5 or above.

Installation

git clone https://github.com/CatalystCode/ibex-dashboard.git
cd ibex-dashboard
npm install -g yarn
yarn

Dev

yarn start:dev

Test Watcher

Runs the test watcher in an interactive mode. By default, runs tests related to files changes since the last commit.

yarn test

Build for Production

yarn build

Whats Inside?