Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.07 KB

NOTES.md

File metadata and controls

35 lines (25 loc) · 1.07 KB

FEATURE and ISSUE tracking with Trello

Keeping track of the features to do and issues with Trello https://trello.com/b/pFj2uWVG/helmetcamera

RASBIAN INSTALL

Used Etcher to copy rasbian lite iso to sd card. Installed usual packages, see install scripts repo Installed access point software, follow configure_hotspot.sh Reboot

DATABASE, MONGODB (NOSQL)

MongoDB is setup and stores data in /usr/local/var/mongodb Start via mongod --config /usr/local/etc/mongod.conf

show dbs use

show collections db.<new|old collection name>.find() -> empty db.<new|old collection name>.insert({}) db.<new|old collection name>.find() -> not empty db.<new|old collection name>.update({date:'fake-date'}, {$set: {name:'fake-name', size: 123, path:'fake-path'}},{upsert:true})

adds fields to existing collection. upsert will only update unique query matches.

db.<dbname|collection>.drop() -> deletes the db or collection

USER INTERFACE

Using a Grid Gallery for Video Stills https://github.com/benhowell/react-grid-gallery Using bootstrap to fancy up my UI and buttons