Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 735 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 735 Bytes

Get-Positive

A review analysis tool for small business customers

MongoDB setup

To setup MongoDB on a Mac

  1. Install MongoDB

  2. Install Brew

  3. Run the command 'brew install mongodb'

  4. Install pymongo

  5. Install Pip with the command 'sudo easy_install pip'

  6. Install pymongo with the command 'pip install pymongo'

  7. Run MongoDB

  8. add a /data/db directory with the command 'mkdir /data/db'

  9. run mongod on a terminal with the command 'mongod'

  10. (optional) open mongo shell with the command 'mongo'

  11. Populate Database

  12. run mockDB.py with 'python mockDB.py'

  13. switch to the mockDB database with the command 'use mockDB'

  14. (optional) use mongo shell to examine db contents with 'db.reviews.find()'