Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.05 KB

dashboard.md

File metadata and controls

16 lines (13 loc) · 1.05 KB
  1. Create a free account with MongoDB.

  2. Create a new cluster using either premium or free plans.

  3. After the cluster has been created, click connect.

  4. Set up credentials and then click on Choose a connection method. Remember your <dbUser> and <dbUserPassword> values, we will be using them later.

  5. Select Connect with the MongoDB shell.

  6. Grab your <dbName> and <identifier> values from here, we will be using them shortly.

  7. After MongoDB has been set up, navigate to your .env file located where the bot folder is and add the following line into it. Replace <dbUser>, <dbUserPassword>, <dbName> and <identifier> with the values you have set up with MongoDB. MONGODB_HOST=mongodb+srv://<dbUser>:<dbUserPassword>@<dbName>.<identifier>.mongodb.net/database?retryWrites=true&w=majority

  8. Run the bot and the dashboard should be running.