controll IR Learning Remote via Web.
- Ruby 1.8.7 ~ 2.0.0
- Arduino IR Remote
% gem install bundler foreman
% bundle install
% export BASIC_AUTH_USERNAME=username
% export BASIC_AUTH_PASSWORD=password
% export ARDUINO=/dev/tty.device-name
% export WS_PORT=9000
% bundle exec rackup config.ru -p 5000
for launchd (Mac OSX)
% sudo foreman export launchd /Library/LaunchDaemons/ --app arduino-ir-remote -u `whoami`
% sudo launchctl load -w /Library/LaunchDaemons/arduino-ir-remote-web-1.plist
for upstart (Ubuntu)
% sudo foreman export upstart /etc/init/ --app arduino-ir-remote -d `pwd` -u `whoami`
% sudo service arduino-ir-remote start