Read the statement by Michael Teeuw here.
Need help with sdetweil script
-
I’m using MagicMirror as a Covid diversion. It fills a lot of the day as I learn bit by bit. Anyway, I need help following the sdetweil script.
The install script worked perfectly. My question is about the script called "upgrade-script.sh later on in his instructions. He says it will “do the git pull and npm install, and refresh npm setup for any modules that might need it” Can one of you teach me what that means and how I would use it. Thanks.
-
@sdetweil would know the most - but it’s designed to run through and check updates - but I believe it’s only going to do that if the main system is updated by default. I don’t have the link handy, but there is a topic where he and I and others discuss the use of his scripts in detail.
-
@blacter once every 3 months there is a new MM release… we are on 2.11, next will be 2.12, on July 1.
now, you will have to do the upgrade and fix every module…
my script does all that for you … things you don’t KNOW u need to do…
the official process is
git pull npm install
in the MM folder… BUT that is only for the base… he doesn’t consider the impacts on modules
so, as I have watched people struggle to reconstruct their mirrors after an update, I wanted to make it easier
-
-
@sdetweil said in Need help with sdetweil script:
I wanted to make it easier
And you have. I use these scripts quite often, twice already this week.
So, thanks and thanks. :thumbsup:
-
@sdetweil said in Need help with sdetweil script:
so, as I have watched people struggle to reconstruct their mirrors after an update, I wanted to make it easier
Hesitated a little bit to submit this reply, but I want to make use of this thread by complimenting Sam on his script.
Also for persons that do not really struggle setting up MagicMirror, it is a very useful script. A real time-saver.
Today I have set-up 2 MagicMirrors from scratch (went from using SD cards to using USB sticks) and it worked like a charm. Had them running again in no time.
So, thanks Sam, for a job well done !