ivanmayes / rfid-musicbox

MIT License
0 stars 0 forks source link

Write out installation / startup Shell scripts for image #3

Open ivanmayes opened 6 years ago

ivanmayes commented 6 years ago

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'

ivanmayes commented 6 years ago

https://stackoverflow.com/questions/3258243/check-if-pull-needed-in-git

https://raspberrypi.stackexchange.com/questions/8734/execute-script-on-start-up