Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Connecting to Mongo with a GUI

Andrea Gaither edited this page Jan 5, 2015 · 1 revision

Use a client like Robomongo to connect to the database.

After the user-api is set up and the database as been seeded, ssh into vagrant and do the following.

  1. Comment out the bind_ip line from /etc/mongod.conf.
# Listen to local interface only. Comment out to listen on all interfaces.
# bind_ip = 127.0.0.1
  1. Create an admin mongo user.

use admin

db.createUser(
    {
      user: "homestead",
      pwd: "secret",
      roles: [ "root" ]
    }
)
  1. Restart mongo

sudo service mongod restart

  1. Connect to mongo with the client.
  2. Prosper
Clone this wiki locally