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.
MongoDB World 2019: Open source command line power tools for developers
1. POWERED BY:
Open source command line power tools for developers
Hosted by Stennie
COMMUNITY POD
2. Agenda
- Get familiar with the command-line for your O/S
- Learn about some open source MongoDB tools for developers
- Install and play :)
3. Prerequisites
- If you want to install some of the tools on your laptop
you will need Python 2.7, Python 3.6, or Docker.
- https://www.python.org/downloads/
- https://www.docker.com/get-started
- If you don’t have time or access to install, that’s OK.
You’ll still get to see what the tools look like.
4. m
What’s in your
MongoDB Open
Source
Toolkit?
mlaunch
*disclaimer: these are open
source projects that are not
officially supported by
MongoDB.
mgeneratejs mloginfo
jq mplotqueries
5. 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
6. m - MongoDB Version Management
- m --help
- m 4.0
- m 3.6
- mkdir data
m use 4.0 --dbpath ./data