use zipped package instead of git clone for Cardigan
This commit is contained in:
parent
272e8091e4
commit
435f481dc9
|
@ -139,30 +139,20 @@ sudo dpkg -i node_latest_armhf.deb
|
||||||
|
|
||||||
echo "========== Install Dride-core [Cardigan] ============"
|
echo "========== Install Dride-core [Cardigan] ============"
|
||||||
cd /home
|
cd /home
|
||||||
sudo git clone --depth 1 --recursive https://github.com/CardiganCam/Cardigan.git
|
# https://github.com/dride/Cardigan/archive/0.2.zip
|
||||||
cd Cardigan
|
wget -c -O "cardigan-0.2.zip" "https://github.com/dride/Cardigan/releases/download/0.2/Cardigan.zip"
|
||||||
|
sudo apt-get install unzip
|
||||||
|
unzip -q -n "cardigan-0.2.zip"
|
||||||
|
|
||||||
|
sudo rm cardigan-0.2.zip
|
||||||
|
|
||||||
|
|
||||||
# make the video dir writable
|
# make the video dir writable
|
||||||
sudo chmod 777 -R modules/video/
|
sudo chmod 777 -R /home/Cardigan/modules/video/
|
||||||
|
|
||||||
# clone dride-ws
|
# clone dride-ws
|
||||||
cd /home/Cardigan
|
|
||||||
sudo rm -R dride-ws
|
|
||||||
|
|
||||||
sudo mkdir dride-ws
|
|
||||||
cd dride-ws
|
|
||||||
wget -c -O "dride-ws-0.1.4.zip" "https://github.com/dride/dride-ws/archive/0.1.4.zip"
|
|
||||||
sudo apt-get install unzip
|
|
||||||
unzip -q -n "dride-ws-0.1.4.zip"
|
|
||||||
|
|
||||||
sudo rm dride-ws-0.1.4.zip
|
|
||||||
|
|
||||||
cd dride-ws-0.1.4
|
|
||||||
find . -maxdepth 1 -exec mv {} .. \;
|
|
||||||
|
|
||||||
cd /home/Cardigan/dride-ws
|
cd /home/Cardigan/dride-ws
|
||||||
sudo rm dride-ws-0.1.4
|
|
||||||
sudo rm npmbox.npmbox
|
|
||||||
sudo npm i
|
sudo npm i
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user