-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·29 lines (21 loc) · 834 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·29 lines (21 loc) · 834 Bytes
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
#!/bin/bash -e
cd /home/shippable/appBase
echo "================= Updating package lists ==================="
apt-get update
echo "================= Installing core binaries ==================="
add-apt-repository -y ppa:ubuntu-toolchain-r/test
echo "deb http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse" > /etc/apt/sources.list
apt-get update
apt-get install -yy g++-4.9
rm -rf /usr/local/lib/python2.7/dist-packages/requests*
pip install --upgrade pip
hash -r
echo "================== Installing python requirements ====="
pip install -r /home/shippable/appBase/requirements.txt
apt-get install -y nodejs
npm install -g forever@0.14.2 grunt grunt-cli
echo "================= Cleaning package lists ==================="
apt-get purge libapparmor1
apt-get clean
apt-get autoclean
apt-get autoremove