Public | Automated Build

Last pushed: 4 months ago
Short Description
QI Dashboard demo backend
Full Description

QI Dashboard Backend Demo

This repository contains a prototype of the backend service meant to be used to demo the QI Dashboard.

Requirements

You will need to:

Use a VM

Typing vagrant up will download a CentOS 7 VM and deploy the service.

Use a container

The same VM mentioned above can be used to build a Docker image and run containers.

Build an image

sudo docker build -t avtar/qi-dashboard-backend .

Run a container

sudo docker run \
-d \ 
-p 3000:3000 \
--name="qi-dashboard-backend" \
-e QI_DASHBOARD_BACKEND_TCP_PORT=3000 \
-e GITHUB_PERSONAL_ACCESS_TOKEN=<your token here> \ 
avtar/qi-dashboard-backend

Adding a -e CONTAINER_TEST=true option will test the running service. The test requires internet access since a request is made to a GitHub API endpoint.

Docker Pull Command
Owner
avtar
Source Repository

Comments (0)