Skip to content

How to connect to our test db

Omar Taylor edited this page Sep 21, 2020 · 3 revisions

How to connect to the test db:

  • install mongodb locally
  • make sure mongodb is started as per the installation for your os
  • open up a terminal
  • type mongo
  • type use ptv-test
  • type db.auth("ptv-testAdmin", "T2020Electi0nSaver")
  • if you see 1 returned on the next line you're in bayeee
  • type db.senatorsWhoSuck.find()
  • you should see the correct senator returned, which demonstrates you're good to go
Clone this wiki locally