The node.js 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 Ruby on Rails.
- A machine that runs Experimental Platform
- A loud speaker, we used this
git clone https://github.com/experimental-platform/example-nodejs-loudspeakers.git
cd example-nodejs-loudspeakers
git remote add platform ssh://dokku@your-box.local:8022/example-nodejs-loudspeakers
git push platform master