http://www.perkin.org.uk/posts/automated-virtualbox-smartos-installs.html
save the following as setup.sh and run it:
#!/bin/sh
#
# Configurables:
http://www.perkin.org.uk/posts/automated-virtualbox-smartos-installs.html
save the following as setup.sh and run it:
#!/bin/sh
#
# Configurables:
server.js and sse.html in the same directorynpm install hapi nipplenode server.jshttp://localhost:3000/sse.html/stream./stream connects to /events and proxies the data back to the client./events provides the actual Server Sent Events stream.