ACE-IoT-Solutions / ace-svg-react

Grafana SVG Rendering Panel using the 7+ Plugin Framework
https://grafana.com/grafana/plugins/aceiot-svg-panel/
MIT License
41 stars 14 forks source link

Manual install of plugin #12

Closed Drex0 closed 2 years ago

Drex0 commented 3 years ago

My Grafana instance is not connected to the web, I have to manually install my plugins by downloading the zip on a separate pc and sticking it into the plugin folder. This plugin's editor window just shows 'loading..', I'm guessing it doesn't have the dependencies. Can I load these manually as well? Do I need to build it?

Capture

acedrew commented 3 years ago

@evannorton Can you check out this install method? It's not too uncommon, especially in OT systems.

oori commented 3 years ago

Monaco editor is loaded from CDN by default. The correct solution is using the loader-config setting, but it requires some updates to this library's dependencies first. I plan to do it soon, but if you're in a hurry, you could probably get by hacking the dist/modules.js and manually change the path settings (search this file for "cdn.jsdelivr.net")

acedrew commented 3 years ago

@oori Ideally we could use the monaco bundled with Grafana, but when I first built this, it didn't have all the languages supported I wanted.

henjoe commented 3 years ago

But is it gonna still work without the internet? for example, I did a lot of coding stuff (while connected to internet on my testing machine), after that, I need to import my dashboard to the production machine (which has no internet), my question is, is it still gonna work on my production machine?

acedrew commented 3 years ago

Yes, if you build the monaco into the dist yourself, it will not attempt to collect it from the CDN.

On Tue, Jun 8, 2021 at 1:22 AM henjoe @.***> wrote:

But is it gonna still work without the internet? for example, I did a lot of coding stuff (while connected to internet on my testing machine), after that, I need to import my dashboard to the production machine (which has no internet), my question is, is it still gonna work on my production machine?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ACE-IoT-Solutions/ace-svg-react/issues/12#issuecomment-856451013, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHOUB377V7VC6RXZP62QEDTRWSJTANCNFSM4V7TRV6A .

acedrew commented 2 years ago

@henjoe were you able to resolve this?

henjoe commented 2 years ago

I tried to diaconnect it on internet and I can still use the editor.

On Sat, Jan 15, 2022, 12:11 AM Andrew Rodgers @.***> wrote:

@henjoe https://github.com/henjoe were you able to resolve this?

— Reply to this email directly, view it on GitHub https://github.com/ACE-IoT-Solutions/ace-svg-react/issues/12#issuecomment-1013259198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3Z672IVJ2YMCQMF2TLVITUWBDM5ANCNFSM4V7TRV6A . You are receiving this because you were mentioned.Message ID: @.***>

acedrew commented 2 years ago

@henjoe Awesome, thank you!