-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
61 lines (42 loc) · 1.79 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
56
57
58
#!/usr/bin/env bash
echo "************************************************************"
echo "******* Starting to install necessary softwares ***********"
echo "************************************************************"
echo "*** At first update ***"
sudo apt-get update
echo "*** Installing composer ***"
echo "*************************************************************"
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
echo "*** Installing nodejs ***"
echo "*************************************************************"
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install -y nodejs
echo "*** Installing grunt ***"
sudo npm install -y -g grunt-cli
echo "*** Installing yeoman ***"
sudo npm install -y -g yo
sudo npm install -y -g generator-angular
echo "*** Installing lineman ***"
sudo npm install -y -g lineman
echo "*** Installing bower ***"
sudo npm install -y -g bower
echo "*** Installing coffee-script ***"
sudo npm install -y -g coffee-script
echo "*** Installing ruby 2.x ***"
echo "************************************************************"
sudo add-apt-repository -y ppa:brightbox/ruby-ng-experimental
sudo apt-get update
sudo apt-get install -y ruby2.1
sudo apt-get install -y ruby2.1-dev
echo "*** Install sass and some plugins ***"
sudo gem install compass --pre
sudo gem install susy --pre
echo "*** We are going to your web root directory ***"
cd /var/www/html
echo "************************************************************"
echo "*************** Everythings are done. **********************"
echo "****************** Congratulation! *************************"
echo "*************** Hooray Hooray Hooray ***********************"
echo "************************************************************"