Raspberry Pi Control based on Ruby on Rails 4 and websockets that allow you to 'bind' GPIO (IN/OUT) pins to web page controls.
- 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