tariqbuilds / linux-dash

A beautiful web dashboard for Linux
https://afaqurk.github.io/linux-dash/
MIT License
10.4k stars 1.2k forks source link

Feature Nvidia GPU Support #482

Open dbanshee opened 4 years ago

GreatEmerald commented 4 years ago

I tried to run gulp to regenerate the linuxDash.min.js file, but the resulting files lead to missing angular-route files, despite gulp seemingly being told to include them into linuxDash.min.js... Is there anything I'm missing? Do you also have a version with the generated files that work in your case?

dbanshee commented 4 years ago

I tried to run gulp to regenerate the linuxDash.min.js file, but the resulting files lead to missing angular-route files, despite gulp seemingly being told to include them into linuxDash.min.js... Is there anything I'm missing? Do you also have a version with the generated files that work in your case?

I am attaching the version that I currently have running. Hope it helps you solve the problem.

I generated it from the uploaded code without problems.

linux-dash.tar.gz

GreatEmerald commented 4 years ago

Thanks, that indeed works correctly! I just took the linuxDash.min.js and linuxDash.min.css files. The diff only shows two differences: the one I got using gulp uses the new angular.js version from 2020, and in your case it's using the one that is in the original linuxDash.min.js from 2014; and in yours, websockets are disabled. I'm guessing the first difference is the one that makes the bigger difference.

dbanshee commented 4 years ago

Thanks, that indeed works correctly! I just took the linuxDash.min.js and linuxDash.min.css files. The diff only shows two differences: the one I got using gulp uses the new angular.js version from 2020, and in your case it's using the one that is in the original linuxDash.min.js from 2014; and in yours, websockets are disabled. I'm guessing the first difference is the one that makes the bigger difference.

I'm glad it worked. It is probably, as you say, from the glad version.

I disabled websockets because it gave me problems accessing remotely through a url. Any url rewriting problem that I didn't have time to investigate.