Magic Mirror installation and setup scripts
these scripts can be used to automate installation of release upgrades.
to execute the install script, cut/paste this line into the terminal window on your device (I can't say PI, cause it works in a lot of other places too)
bash -c "$(curl -sL https://raw.githubusercontent.com/idem2lyon/MagicMirror_scripts/master/raspberry.sh)"
there is a log file, MagicMirror/install.log, created so we can be able to diagnose any problems
upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it
it should handle all the work… and give you a trial run of all that…
only applying changes if u request them
give it a try this works on Mac as well, cut/paste this line into the terminal window on your device
bash -c "$(curl -sL https://raw.githubusercontent.com/idem2lyon/MagicMirror_scripts/master/upgrade-script.sh)"
no changes are made to the local repo or the working copy
if you WANT to actually apply the changes, cut/paste this line into the terminal window on your device
bash -c "$(curl -sL https://raw.githubusercontent.com/idem2lyon/MagicMirror_scripts/master/upgrade-script.sh)" apply
there is a log file (upgrade.log) in the MagicMirror/installers folder…
I have provided those separately too, in case u need to run one separately, or changed your mind after install
screensaveroff.sh, cut/paste this line into the terminal window on your device
bash -c "$(curl -sL https://raw.githubusercontent.com/idem2lyon/MagicMirror_scripts/master/screensaveroff.sh)"
fixuppm2.sh, cut/paste this line into the terminal window on your device