• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 768 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 Jan 26, 2022, 11:30 PM

    @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

    K 1 Reply Last reply Jan 26, 2022, 11:36 PM Reply Quote 1
    • K Offline
      KristjanESPERANTO Module Developer @sdetweil
      last edited by Jan 26, 2022, 11:36 PM

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

      1 Reply Last reply Reply Quote 0
      • K Offline
        karsten13 @KristjanESPERANTO
        last edited by Jan 26, 2022, 11:36 PM

        @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.

        K 1 Reply Last reply Jan 26, 2022, 11:45 PM Reply Quote 1
        • K Offline
          KristjanESPERANTO Module Developer @karsten13
          last edited by Jan 26, 2022, 11:45 PM

          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 Jan 27, 2022, 12:02 AM Reply Quote 0
          • S Offline
            sdetweil @KristjanESPERANTO
            last edited by Jan 27, 2022, 12:02 AM

            @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
            1 / 1
            • First post
              6/6
              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