All Projects → zoontek → Vagrant Rethinkdb

zoontek / Vagrant Rethinkdb

Try RethinkDB with Vagrant

Programming Languages

javascript
184084 projects - #8 most used programming language

Vagrant RethinkDB

RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant query language that supports really useful queries like table joins and group by, and is easy to setup and learn.

Actually, RethinkDB is only available on Ubuntu, OSX, CentOS and Debian. So, if you want to give it a try, you should download Virtualbox and Vagrant.

This provides install scripts for Sinatra, Flask and Express + Ruby, Python and JS drivers.

Usage

git clone https://github.com/zoontek/vagrant-rethinkdb.git
cd vagrant-rethinkdb
vagrant up

Start an Express server

vagrant ssh
cd shared/express
sh install.sh
nodejs index.js

Start a Sinatra server

vagrant ssh
cd shared/sinatra
sh install.sh
ruby index.rb

Start a Flask server

vagrant ssh
cd shared/flask
sh install.sh
python index.py

Port forwarding

Vagrant will forward to the host at the exact same ports used by RethinkDB.

  • The web UI port: localhost:8080
  • The client driver port: localhost:28015
  • The intracluster traffic port: localhost:29015

But also at localhost:3000 for Express, Sinatra or Flask.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].