pymonger

This repository holds scripts that allow you to interact with mongo by the help of python.

View on GitHub

Welcome

This repository helps you get started with the pymongo module of python. Also teaches you to configure and install mongodb on ubuntu.

Install mongodb.

apt-get update && apt-get upgrade && apt-get install mongodb

Configure mongo config.

Got to

vi /etc/mongodb.conf

Replace “bind_ip = 127.0.0.1” with “bind_ip = 0.0.0.0” and uncomment the line “port = 27017” Finally restart the mongodb.

/etc/init.d/mongodb restart

Install python module.

pip install pymongo