MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Boot Magic Mirror on start up.

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 3 Posters 5.6k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Angel_Od
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • R Offline
        ranger33
        last edited by

        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!

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Angel_Od
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • A Offline
            Angel_Od @ranger33
            last edited by

            @ranger33
            For a start, I can’t use the command “sudo npm install -g pm2” - It gives back “bash: sudo: command not found”

            1 Reply Last reply Reply Quote 0
            • F Offline
              felafel
              last edited by

              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.

              https://www.xkcd.com/149/

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy