MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. chichi1887
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 11
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Multiple screens fo MM.

      @sdetweil said in Multiple screens fo MM.:

      @Sagar73594 if you have a bash or sh script, you can set environment variables that the MM code will read

      export MM_CONFIG=??? filename

      will cause filename to be used as the name of the file to read for configuration (replacing config.js)

      if you use my install script and selected use pm2, then the script is
      ~/MagicMirror/installers/mm.sh

      before the line
      npm start
      add the line above to set the file name

      so, by using different config files, one could launch multiple instances of MagicMirror from the same set of files.
      some could target one display and others another, and some could be server only as weill.

      one could also install 50 modules and use the same 25 in all instances and some mix of the others in different instances, all from the same set of files in the MagicMirror folder tree.

      posted in General Discussion
      C
      chichi1887
    • 1 / 1