Private Git for install plugins
-
Re: Private git clone installs for plugins.
@PitaJ Is this above comment you made a while ago still valid?
I have it symlinked, through NPM, however was tinkering around and went into the plugin admin section and clicked the delete, or remove for it and in admin got error popup modal stating that unable to remove it.
Do I have to just manually unlink on each nodebb upgrade for example otherwise it will break?
Nevermind, fixed -- some reason i had root:root on node_modules and it was causing permissions error. Fixed.
--- Actually...
I just noticed that, if done with hte above link method, each time you go to remove or install a plugin the link becomes unlinked. Whats the best way to have that replace the npm symlink? -
@Joykiller there's no easy way to keep the links with npm, but yarn is better at not killing them.
-
@PitaJ said in Private Git for install plugins:
@Joykiller there's no easy way to keep the links with npm, but yarn is better at not killing them.
Ah ok, well ill put up with it. Till I write some bash that checks to make sure the links there or something and if not replaces it after some trigger. I'll look into it later.