UNSOLVED `git clone` with `--depth=1`?
What do you think about adding
git clonein the documentation?
git clone --depth=1 https://github.com/MichMich/MagicMirror
This 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
karsten13 last edited by
single branch could be another option like here.
But we should update the doc from
npm 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 (
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.
@kristjanesperanto one side effect, getting to the develop branch requires a little extra work