|
|
@@ -19,8 +19,6 @@ mount_point=/media/datadrive
|
|
|
echo "Fourier installer $installer_version"
|
|
|
echo "------------------------------------"
|
|
|
|
|
|
-sudo apt-get install -y python python-pip
|
|
|
-
|
|
|
if [[ "$OSTYPE" == darwin* ]]; then
|
|
|
programspath=~/fourier
|
|
|
fi
|
|
|
@@ -37,6 +35,8 @@ read -p "How many receivers has this box? " RECEIVERS_COUNT
|
|
|
read -p "Box ID (from API): " BOX_ID
|
|
|
read -p "API secret: " API_SECRET
|
|
|
|
|
|
+sudo apt-get install -y python python-pip
|
|
|
+
|
|
|
findmnt "$mount_point"
|
|
|
if [ "$?" -neq 0 ]; then
|
|
|
echo -e 'Data drive is not mounted'
|
|
|
@@ -104,6 +104,7 @@ else
|
|
|
sudo apt-get install -y curl
|
|
|
sudo pip install requests
|
|
|
sudo pip install python-firebase
|
|
|
+ sudo npm install -g http-server
|
|
|
cd tools
|
|
|
sudo python ./setup.py install
|
|
|
cd ..
|