-
Notifications
You must be signed in to change notification settings - Fork 19
/
installation.sh
28 lines (23 loc) · 1022 Bytes
/
installation.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
#!/bin/bash
# -----------------------------------------------------------------------
# WORC Installation
# -----------------------------------------------------------------------
# Install requirements: git, cmake, build-essential
echo -e "Installing git, pip, build-essential, graphviz, ipython and jupyter notebook requirements."
apt-get -y install git python-pip build-essential graphviz ipython jupyter-core
pip install jupyter
# Clone WORC repository from Github.
echo -e "Clone WORC repository from Github."
git clone http://Github.com/MStarmans91/WORC ~/Documents/WORC
# Install WORC requirements and package itself
echo -e "Installing WORC requirements and package itself."
cd ~/Documents/WORC
pip install -r requirements.txt
python setup.py install
# Install the PREDICT requirements and package manually
echo -e "Installing PREDICT requirements and package itself."
cd ~/Documents
git clone http://Github.com/Svdvoort/PREDICTFastr PREDICT
cd PREDICT
pip install -r requirements.txt
python setup.py install