Custom Analytics Dashboard for Microsoft Bot Framework and other applications as well
Перейти к файлу
Mor Shemesh faf976476d Merge pull request #265 from CatalystCode/readme-updates
updating readme
2017-08-09 13:41:03 +03:00
.travis Make build.sh executable 2017-07-12 15:04:50 +01:00
.vscode Multiline textarea copy, Scorecard no-title card, dialog always appears on top 2017-07-08 13:35:18 +01:00
build Travis build: 397 2017-08-09 08:38:14 +00:00
client Merge pull request #263 from CatalystCode/fix-dialog-filters 2017-08-09 11:33:54 +03:00
docs Merge pull request #265 from CatalystCode/readme-updates 2017-08-09 13:41:03 +03:00
scripts/deployment Merge pull request #222 from CatalystCode/master 2017-07-03 15:50:27 +03:00
server updating instrumented template 2017-08-08 16:10:29 +03:00
src Merge branch 'issue_66_Enable_dashboards_deletion_API_UX' into itye/ibex-version-1.0-deletion-merge 2017-07-03 16:20:48 +03:00
.deployment install in production with yarn 2017-06-07 17:43:47 +03:00
.dockerignore Fix for docker build 2017-07-31 13:43:51 +01:00
.editorconfig Split panel dialog with errors groups 2017-04-07 19:59:51 +01:00
.gitignore basic sample dynamic create + enable delete 2017-07-30 13:40:10 +03:00
.travis.yml removing uneeded permissions change 2017-07-12 15:05:41 +01:00
Dockerfile Fix for docker build 2017-07-31 13:43:51 +01:00
LICENSE Updating readme 2017-07-30 11:06:07 +03:00
README.md updating readme 2017-08-09 13:40:20 +03:00
package-lock.json Fix Query Tester in AI Connection Settings 2017-06-27 10:15:30 +03:00
package.json Updating readme 2017-07-30 11:06:07 +03:00
yarn.lock adding base package.json to root 2017-06-29 16:25:09 +03:00

README.md

Ibex Dashboard Build Status

Ibex is a dashboarding application that enables building dashboard and templates. It mainly supports Application Insights but data sources and visual components are easily extendable.

Preview

Preview Preview Preview

Display your Bot Analytics Dashboard

npm install yarn -g

git clone https://github.com/CatalystCode/ibex-dashboard
cd ibex-dashboard
yarn
yarn start
  1. Open http://localhost:4000
  2. Create a new template from Bot Analytics Basic Dashboard
  3. Run through the Application Insights setup and fill in API Key and Application ID according to the application insights account associated with your registered bot.

Development

yarn start:dev

Open http://localhost:3000

For contribution and code documentation, follow this link.

(For more information on development environment, see https://www.fullstackreact.com/articles/using-create-react-app-with-a-server/)

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. Copy the fork url and use it with the following deployment button:

2. Web App On Linux - Automated with Docker Hub

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

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

Application Insights Integration

Since application insights API doesn't support ARM yet, we need to manually create an API Key for the application insights service. The full instructions are also available when you create a new dashboard.

You can also follow the next headline.

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

Technologies In Use

Design and Patterns

This project is built using:

The server approach was added using:

Thinking about integrating with:

Engines

  • Running node version 6.11 or above.

Test Watcher

The test watcher is integrated into the create-react-app mechanism and runs tests related to files changes since the last commit.

To run the test watcher in an interactive mode:

cd client
yarn test

Alternatively, you can also run the full commands that the Travis CI server will run to validate any changes.

.travis/ci.sh

Build for Production

Our CI server Travis creates new production builds automatically for changes to master. If you need to create a build locally, you can execute the same commands as the CI server.

yarn build

Or

.travis/build.sh

Lisence

MIT