This is a repository with code related to my blog about RethinkDB vs SQL on Airpair.
In order to run this example code you will need Vagrant installed on your host machine.
Set-up
vagrant up
To fire up the two vms:
vagrant ssh s1
vagrant ssh s2
On s1
:
rethinkdb --bind all
On s2
rethinkdb --join 192.168.33.11:29015 --bind all
On either box to add fixtures and fire up box:
cd /vagrant
npm install
node app/data/rethinkdb.js
npm start