• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Private Git for install plugins

Scheduled Pinned Locked Moved Technical Support
3 Posts 2 Posters 381 Views
    • 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.
  • JoykillerJ Offline
    JoykillerJ Offline
    Joykiller GNU/Linux
    wrote on last edited by Joykiller
    #1

    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?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to Joykiller on last edited by
    #2

    @Joykiller there's no easy way to keep the links with npm, but yarn is better at not killing them.

    JoykillerJ 1 Reply Last reply
    1
  • JoykillerJ Offline
    JoykillerJ Offline
    Joykiller GNU/Linux
    replied to PitaJ on last edited by Joykiller
    #3

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

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development