INSTALL.sh 451 Bytes
Newer Older
Gabriel Kirsten's avatar
Gabriel Kirsten committed
1 2 3
#!/bin/bash

echo "[PYNOVISAO INSTALLER] Installing PYNOVISAO... Please wait!"
Gabriel Kirsten's avatar
Gabriel Kirsten committed
4 5 6 7 8 9 10

#check if is root
if [ "$EUID" -ne 0 ]
  then echo "[PYNOVISAO INSTALLER] ERROR! Please run as root."
  exit
fi

Gabriel Kirsten's avatar
Gabriel Kirsten committed
11
sudo apt-get update
12
sudo apt-get -y install libfreetype6-dev tk tk-dev python-pip default-jre weka weka-doc
Gabriel Kirsten's avatar
Gabriel Kirsten committed
13

Gabriel Kirsten's avatar
Gabriel Kirsten committed
14 15
echo "[PYNOVISAO INSTALLER] Installing libraries..."
pip install -r requeriments.txt
Gabriel Kirsten's avatar
Gabriel Kirsten committed
16

Gabriel Kirsten's avatar
Gabriel Kirsten committed
17 18 19
echo
echo "[PYNOVISAO INSTALLER] Installation completed!"
echo