Read the statement by Michael Teeuw here.
Boot Magic Mirror on start up.
-
Hi guys.
I’m a complete newb at this. Just found out about magic mirror 2 days ago, and I got i working perfectly with Git for windows.
I just have one question, I’ve searched the interwebs and this forum, but with no luck.
As I run this from windows 7 - 32 bit, I would like to have the MM to start up when I boot the pc.
It’s quite easy to get Git Bash to run from the startup, but I guess I need to run a script to start up the actual MM.
I tried my luck with PM2, but since I have no idea of what I’m actually doing, I hope that someone else in here can help me. -
Did you follow this guide exactly? https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
First time I tried i missed the step where you copy paste the code provided by the script into the terminal! Pm2 can be a little finicky I find at first but once it is running smooth works like a charm!
-
This post is deleted! -
@ranger33
For a start, I can’t use the command “sudo npm install -g pm2” - It gives back “bash: sudo: command not found” -
In Windows you don’t need to “sudo” and that command does not exist. That is a *nix thing to say that you want to run with elevated privileges.