From 30fee5cb0dfd896c002c4635eff8a7ba26bffb13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20den=20Berg?= Date: Sat, 12 Mar 2016 19:26:48 +0100 Subject: [PATCH 1/2] Added required installs Made sure the script downloads and installs both node and express --- setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.sh b/setup.sh index da3bc9f..bb162ce 100644 --- a/setup.sh +++ b/setup.sh @@ -41,6 +41,13 @@ sudo make sudo make install # DOWNLOAD/INSTALL FOREVER TO KEEP PICAST RUNNING FOREVER... HAHA? +echo "Downloading and installing node and express to run javascript..." +wget http://node-arm.herokuapp.com/node_latest_armhf.deb +sudo dpkg -i node_latest_armhf.deb + +sudo npm install express +sudo npm install express +echo "Downloading and installing forever to keep PiCAST running forever..." sudo npm install forever -g sudo npm install forever-monitor -g From 39439c6e653eedac1e74381fe973afb5316e7665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20den=20Berg?= Date: Sat, 12 Mar 2016 19:27:19 +0100 Subject: [PATCH 2/2] Only attempt to install express once --- setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.sh b/setup.sh index bb162ce..897cba6 100644 --- a/setup.sh +++ b/setup.sh @@ -45,7 +45,6 @@ echo "Downloading and installing node and express to run javascript..." wget http://node-arm.herokuapp.com/node_latest_armhf.deb sudo dpkg -i node_latest_armhf.deb -sudo npm install express sudo npm install express echo "Downloading and installing forever to keep PiCAST running forever..." sudo npm install forever -g