David Godin - Installation question. What deter...

Installation question. What determines in what path the plugins get installed? Do they always go in ~/.signalk ?
7 Replies
Scott Bender
Scott Bender3mo ago
it’s configured when you run signalk-server-setup So, it can be anywhere
Teppo Kurki
Teppo Kurki3mo ago
nothing in a plugin or webapp should be interested in the actual directory - curious as to what you need this information for
David Godin
David Godin3mo ago
@Teppo Kurki I ask someone to run npm i @mxtommy/kip@beta from ~/.signalk. It installed but it looks like it can't find http://localhost:3000/@mxtommy/kip/ so just wondering if they are config or OS scenarios where npm i should be run from another folder to properly install.
Teppo Kurki
Teppo Kurki3mo ago
right. then what Scott said, they may have configured it to be someplace else does signalk-server-setup write an alternative location as env variable in the unit file?
David Godin
David Godin3mo ago
don't know yet but I"ll check. It's an openplotter install @Teppo Kurki from the doc, SIGNALK_NODE_CONFIG_DIR envirnement variable looks like the one to define this. Am I right?
Teppo Kurki
Teppo Kurki3mo ago
yes
David Godin
David Godin3mo ago
Great. Thanks for the help!
Want results from more Discord servers?
Add your server