ivanmayes/rfid-musicbox

Write out installation / startup Shell scripts for image

ivanmayes opened this issue · 1 comments

Run Mopidy install guide
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/stretch.list
sudo apt-get update
sudo apt-get install mopidy

Install pip with easy_install
install Mopidy-Youtube with Pip
pip install youtube-dl

/etc/asound.conf:
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

Install git

Install Nodejs:
curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
nvm install --lts

// Install package to make .local hostname
sudo apt-get install avahi-daemon
sudo nano /etc/hosts (Change hostname)
sudo /etc/init.d/hostname.sh

Clone rfid-musicbox and -web
Create shell script to run all at once 'mopidy & cd rfid-musicbox; npm start'