Code used in the ADSA NoSQL/MongoDB Workshop
Download the installer from the MongoDB website. The version you'll want is Windows 64-bit 2008 R2+
. Start and continue with the installation as instructed.
-
Install Homebrew by copy-pasting this command into the terminal:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Then install MongoDB using
brew install mongodb
.
Follow the instructions on the MongoDB website.
-
Follow the instructions to install MiniConda on the Conda website.
-
Create a conda environment by copy pasting this into the terminal:
conda create --name adsa ipython-notebook
-
Activate the environment by typing
source activate adsa
(Mac/Linux) oractivate adsa
(Windows). -
Start the iPython Notebook by browsing into the directory you downloaded this Workshop's files and run
ipython notebook
.
Install PyMongo from the conda package directory by typing into the terminal:
conda install pymongo
If this installation gives you issues, Google install pip
and download and install that. And then type into the terminal:
pip install pymongo