Giter Club home page Giter Club logo

rnexus's People

Contributors

mirhagk avatar nasarek avatar nikolauskrismer avatar rheikvaneyck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ahto

rnexus's Issues

Init.d script

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

write heroku documentation

  • write the documentation for the deployment and data update workflow using heroku,com as application host

figure out timezone

  • find out what time zone the weather station delivers and adjust the x-axis to local time zone values

probe active sensor

  • replace fixed column names for active outdoor sensor (temperature and humidity)

FeatueRequest: Run in subdirectory

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:
weatherpi_no_data

Would it be possible to add an extra configuration option "relative_url" which starts the web_app in subdirectory??

create init script

  • create an init script for debian

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 :-) )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.