-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinstall.sh
55 lines (46 loc) · 1.29 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash
#http://www.unixmen.com/install-node-js-centos-7/
sudo yum install gcc gcc-c++
cd ~
wget http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz
tar -xvzf node-v0.12.0.tar.gz
cd node-v*
./configure
make
make install
node --version
cd ~/HDP-Viz
echo "Running npm installs"
npm install grunt --save-dev
npm install -g grunt-cli
npm install -g bower
npm install time-grunt
npm install load-grunt-tasks
npm install grunt-autoprefixer
npm install grunt-concurrent
npm install grunt-contrib-clean
npm install grunt-contrib-concat
npm install grunt-contrib-connect
npm install grunt-contrib-copy
npm install grunt-contrib-cssmin
npm install grunt-contrib-htmlmin
npm install grunt-contrib-imagemin
npm install grunt-contrib-jshint
npm install grunt-contrib-uglify
npm install grunt-contrib-watch
npm install grunt-exec
npm install grunt-hapi
npm install grunt-mocha
npm install grunt-newer
npm install grunt-rev
npm install grunt-svgmin
npm install grunt-usemin
npm install grunt-wiredep
npm install jshint-stylish
echo "Running bower install"
bower install --allow-root --config.interactive=false
echo "Running grunt build..."
grunt build --force
echo "Running HDP-Vize install..."
npm install --production
echo 'All setup. Edit server.server.properties and then start the server with node server/server.js'