Read the statement by Michael Teeuw here.
`git clone` with `--depth=1`?
-
What do you think about adding
--depth=1togit clonein the documentation?Like this:
git clone --depth=1 https://github.com/MichMich/MagicMirrorThis would have the positive effect that users would only have to download 437 KiB instead of 19 MiB. The whole git history is not relevant for normal users, is it?
-
@kristjanesperanto if you use my install script it does that
-
That’s interesting, but I’m talking about the official documentation here :-)
-
single branch could be another option like here.
But we should update the doc from
npm installtonpm install --only=prod(sam uses this already in his install script), because the devDependencies are really fat. -
Ah, I didn’t know
--single-branchyet. But yes, that sounds reasonable too.Optimizing both (
git cloneandnpm 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. -
@kristjanesperanto one side effect, getting to the develop branch requires a little extra work
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login