Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 678 Bytes

File metadata and controls

31 lines (20 loc) · 678 Bytes

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