Skip to content
This repository was archived by the owner on May 15, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions spot-oa/ui/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,35 @@ Here you will find instructions to get Spot UI up and running. For more informat
- spot-oa output
> Spot UI takes any output from [spot-oa backend](../oa/), as input for the visualization tools provided. Please make sure there are files available under PATH_TO_SPOT/ui/data/${PIPELINE}/${DATE}/

## Install Spot UI
## Install Spot UI - Production

1. Go to Spot UI folder

`$ cd PATH_TO_SPOT/ui/`
`$ cd PATH_TO_SPOT/spot-oa/ui/`

2. With root privileges, install browserify and uglify as global commands on your system.
2. Install dependencies and build Spot UI

`# npm install -g browserify uglifyjs`
`$ npm install`

## Install Spot UI - Development

1. Go to Spot UI folder

`$ cd PATH_TO_SPOT/spot-oa/ui/`

2. With root privileges, install watchify [link](https://www.npmjs.com/package/watchify) as global commands on your system.

`# npm install -g watchify`

3. Install dependencies and build Spot UI

`$ npm install`

## How to run Spot UI

1. Go to Spot UI folder
1. Go to Spot OA folder

`$ cd PATH_TO_SPOT/`
`$ cd PATH_TO_SPOT/spot-oa`

2. Start the web server

Expand Down