Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

loads/loads-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d6dee2b · Oct 15, 2015
Sep 28, 2015
Apr 4, 2015
Sep 28, 2015
Feb 16, 2015
Sep 2, 2015
Feb 16, 2015
Jan 16, 2015
Mar 18, 2015
Sep 28, 2015
Sep 2, 2015
Feb 28, 2015
Sep 2, 2015
Apr 4, 2015
Jan 16, 2015
Apr 4, 2015
Sep 28, 2015
Sep 2, 2015
Jan 16, 2015

Repository files navigation

loads-web

Build Status

Web dashboard for Loads, v2. https://github.com/loads/loads-broker

  • Monitors active loadtests
  • View historic loadtest runs
  • Define load profiles (container sets)
  • Control load test runs

Prerequisites

Before you install loads-web, you'll need to have Node.js installed, as well as Grunt and Bower modules installed globally:

$ npm install bower grunt-cli --global

Development

Setting the app up:

$ npm install

Compile Stylus to CSS:

$ grunt stylus

Starting the server:

$ npm start

Deployment

The dashboard is hosted by a Hapi server that proxies API requests to a separate broker instance. This allows the front-end to be developed independently of the broker, and provides a mechanism for serving mock data if the broker does not implement a particular call.

You can use awsbox to deploy the Hapi server to AWS:

# Create the instance.
> AWS_REGION=us-west-2 AWS_ID={id} AWS_SECRET={secret} \
  [email protected] awsbox create -n loads-web

# Deploy committed changes.
> git push loads-web HEAD:master