Skip to content
This repository has been archived by the owner on Jul 20, 2019. It is now read-only.

Give Yourself Admin From Mongo

Johannes Andersen edited this page Jan 6, 2016 · 1 revision

Admin Yourself

  1. Open a new console window. (Be sure you run meteor in another CMD window.)
  2. Go to your project folder. (You can use this command to go into directories: CD [path])
  3. Now, let's get into mongo by running this command: meteor mongo
  4. Now you should be able to run this command and get admin: db.users.update({"profile.usernameL": "YOUR_USERNAME"}, {$set: {"profile.rank": "admin"}})
Clone this wiki locally