From 47e3c1a5b424089e558d17a0614645241d447fe5 Mon Sep 17 00:00:00 2001 From: Felipe Ruiz Date: Mon, 28 Nov 2016 17:07:45 -0200 Subject: [PATCH 1/2] Reviewing ui INSTALL.md Added the paths that worked for me, watchify instructions (necessary for the project) and inserting (nice to have) links. --- spot-oa/ui/INSTALL.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spot-oa/ui/INSTALL.md b/spot-oa/ui/INSTALL.md index 1d70e2b..e8448bc 100755 --- a/spot-oa/ui/INSTALL.md +++ b/spot-oa/ui/INSTALL.md @@ -15,11 +15,11 @@ Here you will find instructions to get Spot UI up and running. For more informat 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. With root privileges, install [browserify](https://www.npmjs.com/package/browserify), [uglify](https://www.npmjs.com/package/uglify) and [watchify](https://www.npmjs.com/package/watchify) as global commands on your system. - `# npm install -g browserify uglifyjs` + `# npm install -g browserify uglifyjs watchify` 3. Install dependencies and build Spot UI @@ -27,9 +27,9 @@ Here you will find instructions to get Spot UI up and running. For more informat ## 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 From ad83a443e1bf6719ec36e9db6a618d1ea2b417af Mon Sep 17 00:00:00 2001 From: Felipe Ruiz Date: Tue, 31 Jan 2017 22:02:24 -0200 Subject: [PATCH 2/2] Splitting production and development instructions Now we have the step by step for production and development in two distinct blocks. --- spot-oa/ui/INSTALL.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/spot-oa/ui/INSTALL.md b/spot-oa/ui/INSTALL.md index e8448bc..e018a7b 100755 --- a/spot-oa/ui/INSTALL.md +++ b/spot-oa/ui/INSTALL.md @@ -11,15 +11,25 @@ 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/spot-oa/ui/` -2. With root privileges, install [browserify](https://www.npmjs.com/package/browserify), [uglify](https://www.npmjs.com/package/uglify) and [watchify](https://www.npmjs.com/package/watchify) as global commands on your system. +2. Install dependencies and build Spot UI - `# npm install -g browserify uglifyjs watchify` + `$ 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