Getting Started
It’s not uncommon to see someone write an interactive shell in browser for evaluation purpose such as mongly, tryRedis. This isn’t applied for RethinkDB because it comes with an excellent editor where you can type code and run it.
Install RethinkDB by downloading package for your platform http://rethinkdb.com/docs/install/. Run it after installing.
The Ports
By default, RethinkDB runs on 3 ports
- 8080
- this is the web user interface of RethinkDB or the dashboard. You can query the data, check performance and server status on that UI.
- 28015
- this is the client drive port. All client drive will connect to RethinkDB
through this port. If you remember in previous chapter, we used a
tcpdumpcommand to listen on this port to capture data send over it. - 29015
- this is intracluster port; different RethinkDB node in a cluster communicates with eath others via this port
The dashboard
Open your browser at http://127.0.0.1:8080 and welcome RethinkDB. You can play around to see what you have:
Navigate to the Explorer tab, you can type the command from there. Let’s start with
1 r.dbList()
Run it and you can see a list of database.