MongoDB World 2019: Open source command line power tools for developers
mongodb
235 views
11 slides
Jul 15, 2019
Slide 1 of 11
1
2
3
4
5
6
7
8
9
10
11
About This Presentation
Learn how to install and use some essential timesaving command-line shortcuts for developers including installing multiple versions of MongoDB for testing, generating realistic sample data, and wrangling JSON.
Size: 525.72 KB
Language: en
Added: Jul 15, 2019
Slides: 11 pages
Slide Content
POWERED BY:
Open source command line power tools for developers
Hosted by Stennie
COMMUNITY POD
Agenda
-Get familiar with the command-line for your O/S
-Learn about some open source MongoDB tools for developers
-Install and play :)
Prerequisites
-If you want to install some of the tools on your laptop
you will need Python 2.7, Python 3.6, or Docker.
-If you don’t have time or access to install, that’s OK.
You’ll still get to see what the tools look like.
m
What’s in your
MongoDB Open
Source
Toolkit?
mlaunch
*disclaimer: these are open
source projects that are not
officially supported by
MongoDB.
mgeneratejsmloginfo
jq mplotqueries
m - MongoDB Version Management
-Install and switch between multiple versions of MongoDB
for testing or development.
-m is a bash script. You can install on macOS, Linux, or
Windows*.
-If you don’t have time or access to install, that’s OK.
-https://github.com/aheckmann/m
m - MongoDB Version Management
-m --help
-m 4.0
-m 3.6
-mkdir data
m use 4.0 --dbpath ./data
mtools
github.com/rueckstiess/mtools/
m mlaunch
mgeneratejsmloginfo
jq mplotqueries
Install mtools
-pip install mtools[all] --user
-mlaunch --version
Create a local replica set for testing
-mlaunch --help