-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
25 lines (21 loc) · 1.05 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
#!/bin/bash
# Install script for dependecies- works for Linux only :(
#Installing MongoDB
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo mongorestore -d leagues_db server_dump/leagues_db/
#Installing numpy, scipy, matplotlib, pip
sudo apt-get install -y build-essential python-dev python-setuptools python-numpy python-scipy libatlas-dev libatlas3gf-base
sudo update-alternatives --set libblas.so.3 /usr/lib/atlas-base/atlas/libblas.so.3
sudo update-alternatives --set liblapack.so.3 /usr/lib/atlas-base/atlas/liblapack.so.3
sudo apt-get install -y python-matplotlib
sudo apt-get install -y python-pip
#Installing pyMongo, scikit-learn, Selenium
sudo -H pip install pymongo
sudo -H pip install selenium
sudo -H pip install sklearn
sudo -H pip install progress==1.2
sudo -H pip install tabulate
sudo -H pip install pydot2==1.0.33