dwyl / learn-rethinkdb

:high_brightness: Learn how to use rethinkdb to power your next real-time app!
11 stars 0 forks source link

learn-rethinkdb

Learn how to use RethinkDB to power your next real-time app!

RethinkDB is to MongoDB as Node.js is to PHP; prepare to have your mind blown! http://www.rethinkdb.com/docs/rethinkdb-vs-mongodb/

What?

 How?

Installation

Mac

If you are using Homebrew on your Mac you can install RethinkDB using the simple command in the terminal:

brew update && brew install rethinkdb

This will install all of RethinkDB's dependencies, expect to see:

learn-rethinkdb-brew-install

Once it installation completes (with brew) you should see:

learn-rethinkdb-brew-install-complete

In case you missed it, these are the suggested commands to
ensure RethinkDB starts when your Mac (re)boots:

ln -sfv /usr/local/opt/rethinkdb/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rethinkdb.plist

Detailed stop/start instructions: http://rethinkdb.com/docs/start-on-startup/

Quick Start

Once you have installed RethinkDB, read the Quick Start: http://www.rethinkdb.com/docs/quickstart/

Start the RethinkDB Server

In your terminal, start the server with the command:

rethinkdb

You should see (something similar to this): learn-rethinkdb-start-server

Check it worked by visiting: http://127.0.0.1:8080/
You should expect to see:

rethinkdb-admin-interface

Useful Links