set up mongo db in windows and osx

OSX 1. download mongo and unzip to some folder, rename folder to mongodb. i put it under ~/Documents/develop/mongodb 2. create  folder “data” under “mongodb”.  create folder “db” under “data” create folder “logs” under “mongodb”. create file “mongodb.log” 3. create file mongodb.conf under ~/Documents/develop/mongodb/bin with content: dbpath = ~/Documents/develop/mongodb/data/db directoryperdb = true logpath = ~/Documents/develop/mongodb/logs/mongodb.log logappend = true rest…

set up node js

Was playing around with node today, some notes for setting up. To install node, just go to the nodejs site and download. To run sample from the node site, create the something like yourapp.js file with the content they provide, open cmd or your terminal, navigate to the folder containing the js file. and run…