The backend API
-
Make sure you have
node
andnpm
andrethinkdb
installed -
Run
rethinkdb
on any port other than 8080$ rethinkdb --http-port 9090
-
Install
gulp
globally$ npm install gulp -g
-
Run
npm install
insidewafflecone/
-
Run
gulp
insidewafflecone/
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
VirtualBox
andVagrant
installed - Run
vagrant up
insidewafflecone/vagrant/
. (Note: the first time you runvagrant up
it will take some time to download the ubuntu image. After that subsequentvagrant
commands should be fast) - Optional: to stop the virtual machine run
vagrant halt
. To start the virtual machine from scratch, runvagrant destroy
. Seevagrant help
for 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.