The backend API
-
Make sure you have
nodeandnpmandrethinkdbinstalled -
Run
rethinkdbon any port other than 8080$ rethinkdb --http-port 9090
-
Install
gulpglobally$ npm install gulp -g
-
Run
npm installinsidewafflecone/ -
Run
gulpinsidewafflecone/
Vagrant will be used to create an Ubuntu virtual machine. RethinkDB will be installed on this virtual machine. Ports will be forwarded so that it looks like rethinkDB is installed on your local machine. You can access rethinkDB web UI on localhost:9090. gulp integrate should work out of the box.
- Make sure you have
VirtualBoxandVagrantinstalled - Run
vagrant upinsidewafflecone/vagrant/. (Note: the first time you runvagrant upit will take some time to download the ubuntu image. After that subsequentvagrantcommands should be fast) - Optional: to stop the virtual machine run
vagrant halt. To start the virtual machine from scratch, runvagrant destroy. Seevagrant helpfor more options
Note: Running on Windows also requires Python 2.7 for Windows. If you encounter any issues with the bcrypt module, there is a helpful Stack Overflow post here.