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.

    `git clone` with `--depth=1`?

    Scheduled Pinned Locked Moved Unsolved Feature Requests
    6 Posts 3 Posters 1.0k Views 3 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.
    • S Offline
      sdetweil @KristjanESPERANTO
      last edited by

      @kristjanesperanto if you use my install script it does that

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @sdetweil
        last edited by

        That’s interesting, but I’m talking about the official documentation here :-)

        1 Reply Last reply Reply Quote 0
        • karsten13K Offline
          karsten13 @KristjanESPERANTO
          last edited by

          @kristjanesperanto

          single branch could be another option like here.

          But we should update the doc from npm install to npm install --only=prod (sam uses this already in his install script), because the devDependencies are really fat.

          KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
          • KristjanESPERANTOK Offline
            KristjanESPERANTO Module Developer @karsten13
            last edited by

            Ah, I didn’t know --single-branch yet. But yes, that sounds reasonable too.

            Optimizing both (git clone and npm install) would speed up the setup process, especially on slow machines. Since a simple user just copies the commands from the documentation, these changes wouldn’t complicate the process any further.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @KristjanESPERANTO
              last edited by

              @kristjanesperanto one side effect, getting to the develop branch requires a little extra work

              see
              https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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