-
Notifications
You must be signed in to change notification settings - Fork 3
/
ubuntu-setup.sh
executable file
·69 lines (52 loc) · 2.88 KB
/
ubuntu-setup.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
59
60
61
62
63
64
65
66
67
68
69
sudo apt-get update
sudo apt-get install -y python-software-properties python g++ make
sudo apt-get install -y g++ curl libssl-dev apache2-utils git-core unzip
# installing node re instructions in the documentation
# https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install -y nodejs
sudo apt-get install -y redis-server
# install bower and gulp globally
npm install -g bower gulp
# download required modules
cd /vagrant; gulp install;
# no need to wget all these files, everything should be in the libs folder that isn't through bower
##INSTALL SHAREJS 0.6
# npm install [email protected]
# git clone [email protected]:square/crossfilter.git
# wget http://getbootstrap.com/2.3.2/assets/bootstrap.zip; unzip bootstrap.zip
# mv bootstrap/js/* /vagrant/public/javascripts/lib/
# mv bootstrap/css/* /vagrant/public/stylesheets/
# mv bootstrap/img/* /vagrant/public/img/
# Download the Bootstrap-Affix plugin (MIT License)
# wget -P /vagrant/public/javascripts/lib/ http://getbootstrap.com/2.3.2/assets/js/bootstrap-affix.js
# Download the Bootstrap-tooltip plugin (MIT License)
# wget -P /vagrant/public/javascripts/lib/ http://getbootstrap.com/2.3.2/assets/js/bootstrap-tooltip.js
#Download holder.js (MIT License)
# wget http://github.com/imsky/holder/zipball/v2.2.0
# mv v2.2.0 holder.js.zip
# unzip holder.js.zip
# mv imsky-holder-4e4b837/holder.js /vagrant/public/javascripts/lib
# Download Backbone (MIT License)
# from http://http://backbonejs.org/
# wget -P /vagrant/public/javascripts/lib/ http://backbonejs.org/backbone-min.js
# Download JQuery (MIT License)
# wget -P /vagrant/public/javascripts/lib/ http://code.jquery.com/jquery-2.0.3.min.js
# download Math.uuid.js (public domain)
# wget -P /vagrant/public/javascripts/lib/ https://gist.github.com/ne-sachirou/882192/raw/e8a083a4f8322edb44764d724e6e89d6ccd6bf44/Math.uuid.js
# download jquery-scrollto.min.js (MIT License)
# from https://github.com/flesler/jquery.scrollTo
# wget -P /vagrant/public/javascripts/lib/ https://raw.github.com/flesler/jquery.scrollTo/master/jquery.scrollTo.min.js
# download jquery.cookie.js (MIT License)
# from https://github.com/carhartl/jquery-cookie
# wget -P /vagrant/public/javascripts/lib/ https://raw.github.com/carhartl/jquery-cookie/master/jquery.cookie.js
# download embedly (MIT License)
# from https://github.com/embedly/embedly-jquery
# wget -P /vagrant/public/javascripts/lib/ https://raw.github.com/embedly/embedly-jquery/master/jquery.embedly.min.js
# download underscore (MIT License)
# from http://underscorejs.org/
# wget -P /vagrant/public/javascripts/lib/ http://underscorejs.org/underscore-min.js
# download expanding textareas (MIT License)
# from https://github.com/bgrins/ExpandingTextareas
# wget -P /vagrant/public/javascripts/lib/ https://raw.github.com/bgrins/ExpandingTextareas/master/expanding.js