rheikvaneyck / rnexus Goto Github PK
View Code? Open in Web Editor NEWDashboard for Weather Station FTA Nexus
License: Other
Dashboard for Weather Station FTA Nexus
License: Other
Hi,
I read about rnexus in the raspberry pi geek magazin (05.2013).
This really raised my interest in the project, so I had to get an tfa nexus and a raspberry pi. Today I installed the nexus and your software on my newly bought raspberry...
... although I am not that familiar with ruby (I usually work with java and javascript) it all works great.
THANKS for your great work... it would have taken me much more time to get some weather data into my local network without your tool.
There is only one question left:
Is there something like an init script (which calls "ruby bin/rnexus" in the source directory) that can be copied to /etc/init.d? By now I use a screen terminal, so that the server keeps running when closing my SSH session, but this doesn't work after a system restart.
Would it be hard to create such an init script? Or is there an existing solution (which I could not find, so maybe it should be documented...)
Kind regards (and thanks again),
Niko
Readme.md doesn't reflect the current work-flow.
I tried running the app in a subfolder (e.g http://weatherpi:4567/weatherpi), but it seems to be quite hard to do.
This would ease running the web application behind a proxy (my webserver could then proxy to the raspberry pi and I would not need to open an additional port on my router).
I changed some paths in /web/controllers/web_dash_controller.rb (images should be prefixed with relative_url) and in /web/views/layout.html (css and js includes should also be prefix with relaive_url). That made my application work "somehow", but without data showing. The results looks like this:
Would it be possible to add an extra configuration option "relative_url" which starts the web_app in subdirectory??
Problem: If rackup starts in daemon mode it changes the path to /
. Thus, all paths in the code have to be adjusted. This leads to refactoring the code (and make it better :-) )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.