Public | Automated Build

Last pushed: 5 months ago
Short Description
ibex
Full Description

Bot Framedash

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

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

There are 3 ways to deploy to Azure:

1. Web App - Automated

  1. Fork this repo (to be able to automatically create github deployment key)
  2. Clone & Deploy:
  3. <a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Ftorosent%2Fibex-dashboard%2Fmaster%2Fscripts%2Fdeployment%2Fwebapp%2Fazuredeploy.json" target="_blank">
    <img src="http://azuredeploy.net/deploybutton.png"/>
    </a>

2. Web App On Linux - Automated with Docker Hub

<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FCatalystCode%2Fibex-dashboard%2Fmaster%2Fscripts%2Fdeployment%2Fwebapponlinux%2Fazuredeploy.json" target="_blank">
<img src="http://azuredeploy.net/deploybutton.png"/>
</a>

3. Manual

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

Important Note

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.

Deploy With Docker

  1. docker build -t **image name** .
  2. docker run -d -e PORT=80 **image name**
  3. Docker image is also available at Docker Hub - docker pull catalystcode/ibex-dashboard

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

What’s Inside?

Docker Pull Command
Owner
torosent
Source Repository