Difference between revisions of "MongoDB and NodeJs"

(Created page with "=MongoDB = =NodeJs= =Installation= We will install : * MongoDb * Node * Robomongo - editor brew - package manager can be used on MacOs")
 
(Installation)
Line 11: Line 11:
  
 
brew - package manager can be used on MacOs
 
brew - package manager can be used on MacOs
 +
<source>
 +
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 +
</source>
 +
https://brew.sh/
 +
 +
Mongo Installation:
 +
<source>
 +
>brew install mongo
 +
>mongod
 +
>sudo mkdir -p /data/db
 +
>sudo chown -Rv rasimsen /data/db
 +
</source>

Revision as of 15:56, 7 November 2018

MongoDB

NodeJs

Installation

We will install :

  • MongoDb
  • Node
  • Robomongo - editor

brew - package manager can be used on MacOs

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

https://brew.sh/

Mongo Installation:

>brew install mongo
>mongod
>sudo mkdir -p /data/db
>sudo chown -Rv rasimsen /data/db