AyumuUeha | 76a01bc | 2017-05-18 13:34:13 +0900 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
| 2 | #************************************************************/ |
| 3 | #** File: nova_consolidator_setup.sh */ |
| 4 | #** Contents: Contains shell script to setup required */ |
| 5 | #** software for Nova Consolidator application*/ |
| 6 | #************************************************************/ |
| 7 | |
| 8 | sudo apt-get update -y |
| 9 | sudo apt-get install npm -y |
| 10 | echo "#### Install Json-Server ####" |
| 11 | sudo npm install -g json-server@0.9.6 |
| 12 | cd /usr/local/lib/node_modules |
| 13 | echo "#### Install Line-Reader ####" |
| 14 | sudo npm install -g line-reader |
| 15 | echo "#### Install Blue-Bird ####" |
| 16 | sudo npm install -g bluebird |
| 17 | echo "#### Install JS files ####" |
| 18 | sudo cp /usr/local/pppoe/utils/netcfgConsolidator/* /usr/local/lib/node_modules/. |