Skip to content

robert2d/raspberry-pi-gpio-rails4-control

 
 

Repository files navigation

Ruby on Rails Raspberry Pi GPIO Control

Raspberry Pi Control based on Ruby on Rails 4 and websockets that allow you to 'bind' GPIO (IN/OUT) pins to web page controls.

How To

  • Start DRb server as root user:
sudo bundle exec ruby bin/gpio start
  • Start Rails server in develpment mode:
thin start

or

in production mode, first compile assets then start thin:

RAILS_ENV=production bundle exec rake assets:precompile
thin -e production start

Demo

Video Demonstration

About

Raspberry Pi Control based on Ruby on Rails 4 and websockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 82.4%
  • CSS 12.7%
  • CoffeeScript 4.9%