The Rails code only contains a few lines and is easy to understand. It uses mplayer for playing a sound located in the sounds/
directory. There's also an example written in Node.JS.
- A machine that runs Experimental Platform
- A loud speaker, we used this
git clone https://github.com/experimental-platform/example-rails-loudspeakers.git
cd example-rails-loudspeakers
git remote add platform ssh://dokku@your-box.local:8022/example-rails-loudspeakers
git push platform master