This repository has been archived by the owner on Jun 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#! /bin/sh | ||
|
||
echo 'Installing node' | ||
curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash - | ||
sudo apt-get install -y nodejs | ||
sudo npm install --global npm | ||
|
||
echo 'Installing mongoDB' | ||
wget https://github.com/tjanson/mongodb-armhf-deb/releases/download/v2.1.1-1/mongodb_2.1.1_armhf.deb -P /tmp/ | ||
sudo dpkg -i /tmp/mongodb_2.1.1_armhf.deb | ||
sudo /etc/init.d/mongodb start | ||
sudo update-rc.d mongodb defaults | ||
|
||
echo 'Installing gulp & bower' | ||
sudo npm install --global gulp bower | ||
|
||
|
||
echo 'Installing mopidy repo' | ||
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add - | ||
echo '# Mopidy APT archive' | sudo tee -a /etc/apt/sources.list.d/mopidy.list | ||
echo 'deb http://apt.mopidy.com/ wheezy main contrib non-free' | sudo tee -a /etc/apt/sources.list.d/mopidy.list | ||
echo 'deb-src http://apt.mopidy.com/ wheezy main contrib non-free' | sudo tee -a /etc/apt/sources.list.d/mopidy.list | ||
|
||
echo 'Installing mopidy' | ||
sudo modprobe ipv6 | ||
echo ipv6 | sudo tee -a /etc/modules | ||
sudo amixer cset numid=3 1 | ||
sudo apt-get update | ||
sudo apt-get install -y mopidy mopidy-spotify | ||
|
||
echo 'Done.' |