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

    Posts

    Recent Best Controversial
    • RE: Backing up via GitHub repo

      The MM repo has a git configuration to only track the “default” folder in the MM/modules folder. This is cool because you can have a separate git repository inside another! When you like a module someone (even yourself) created on github, you need to install it in the MM/modules folder. For example, from the MagicMirror/modules directory, I’m cloning a repo:

      [MagicMirror/modules]> git clone https://github.com/sdetweil/MyCovid19.git
      

      You’ll see that a new directory is created under the “modules” directory – and it’s the same name as the git repository. Important to this discussion; the MagicMirror repo doesn’t care about this new directory! You follow the usual steps to update MM with no git side-effects … and … you can update the new module directory that you cloned using the same “git pull” process!

      Side note: there are often a few more steps needed to install a module. In this example, @sdetweil follows best practice to include installation instructions in the module README.

      So, in a general case, you can create a repo, for example, “MyStuff” in the MM/modules folder. It can contain anything and you can manage it (edit files/push/pull/branch/etc.) all within the “MM/modules/MyStuff” directory.

      Just don’t call your repository “default”! :-b

      fyi - Git keeps track of files/directories to ignore within a repository by using a .gitignore file located in the repo’s root folder. Check out all the files the MagicMirror ignores!

      posted in Troubleshooting
      S
      sojourner
    • RE: Config help

      Just thought I’d mention MagicMirror has a config check command. It helps me find missing commas, failed close parenthesis, etc.

      In your MagicMirror directory:

      npm run config:check
      
      posted in Troubleshooting
      S
      sojourner
    • RE: Remote SSH Access to the Mirrors You Give Away

      @bhepler Another cloud host option is google, who offers a free tier as well.

      my universal caveat – As with all “free” things, TANSTAAFL

      posted in Tutorials
      S
      sojourner
    • RE: SSH Tutorial

      @blacter If you have interest/time … the VS Code editor runs on macOS and has a nice ‘remote ssh’ functionality to edit files remotely. While it has a lot of “programmer” functions, it’s not a bad editor to help anyone. (And this, from a guy who prefers a command line.)

      posted in General Discussion
      S
      sojourner
    • 1 / 1