Git Product home page Git Product logo

nosql-workshop's Introduction

NoSQL Workshop

A workshop on NoSQL databases such as MongoDb that explores both theory and practice by using MongoDb and Neo4j databases.

NoSQL Workshop Gitbook

Here is the gitbook for the NoSQL Workshop

Workshop Details

Preparations:

  • Install Docker
  • Clone this repo: git clone https://github.com/jbelmont/nosql-workshop.git

Docker Prerequisites

Since Docker leverages the Operating System's virtualization technologies, the install requirements for Docker are specific.

OS X requirements:

  • 2010 or newer model with Intel's MMU virtualization
  • OS X El Capitan 10.11 or newer

Windows requirements:

  • 64-bit Windows
  • Windows 10 Pro, Enterprise or Education (not Home, not Windows 7 or 8) to install Hyper-V
  • Windows 10 Anniversary Update or better
  • Access to your machine's BIOS to turn on virtualization

Install Mongo Docker Image

Please run the following command to pull the official mongo docker image:

docker pull mongo:4.0.5

You can also pull my own docker image which has vim installed:

docker pull jbelmont/nosql-mongo-image-with-scripts:v1

Use the following shell script to get mongo running in your system:

##! /bin/bash

docker run --name mongo-image-4-with-scripts \
  --rm \
  -v ~/mongod_data.4.0.5:/data/db \
  -p 27017:27017 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -d jbelmont/nosql-mongo-image-with-scripts:v1

Then you can run the script like this in a Unix Shell:

sh scripts/run-mongo-shell-with-script-files-image.sh

Install the Mongo client

Ubuntu/Debian via apt

sudo apt install mongodb-clients

OSX via Homebrew

brew tap mongodb/brew
brew install [email protected]

Windows via chocolatey

choco install mongodb

Get into mongo shell

Once you run the above command you should be able to get into running docker container like this in a shell session:

mongo localhost:27017

nosql-workshop's People

Contributors

jbelmont avatar kilo59 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.