From charlesreid1

Revision as of 07:07, 30 March 2017 by Admin (talk | contribs)

Covering some notes on MongoDB for the UGR wifi project.

MongoDB goals:

  • Get it set up and working locally with a test database script
    • Add records
    • Drop records
    • Query records - for all records within a date range, for all records matching a mac address, for all clients on a certain network, for all macs matching a certain prefix pattern
  • Get MongoDB working over stunnel
  • Get MongoDB set up in a docker container with a persistent data storage volume

Use the already-finished instructions here:

Also use the PyMODM library:

Installing=

Mac

On a Mac, to test things out:

brew install mongodb
pip install pymodm

Ubuntu

On Ubuntu, the eventual server platform:

apt-get install mongodb
pip install pymodm