A review analysis tool for small business customers
To setup MongoDB on a Mac
-
Install MongoDB
-
Install Brew
-
Run the command 'brew install mongodb'
-
Install pymongo
-
Install Pip with the command 'sudo easy_install pip'
-
Install pymongo with the command 'pip install pymongo'
-
Run MongoDB
-
add a /data/db directory with the command 'mkdir /data/db'
-
run mongod on a terminal with the command 'mongod'
-
(optional) open mongo shell with the command 'mongo'
-
Populate Database
-
run mockDB.py with 'python mockDB.py'
-
switch to the mockDB database with the command 'use mockDB'
-
(optional) use mongo shell to examine db contents with 'db.reviews.find()'