Skip to Content
Mastering Flask Web Development - Second Edition
book

Mastering Flask Web Development - Second Edition

by Daniel Gaspar, Jack Stouffer
October 2018
Intermediate to advanced
332 pages
8h 9m
English
Packt Publishing
Content preview from Mastering Flask Web Development - Second Edition

Installing MongoDB

To install MongoDB, go to https://www.mongodb.org/downloads and select your OS from the tabs under the heading Download MongoDB. Every OS that has a supported version has installation instructions listed next to the download button of the installer.

To run MongoDB, go to Bash and run the following:

$ mongod

This will run a server for as long as the window is open.

Using Docker, you can easily launch a MongoDB server without needing to install anything else on your computer.

To start a MongoDB server on Docker, enter the following:

$docker run -d -p 27017:27017 mongo:3.2.20-jessie$docker container listCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES4c6706af399b mongo:3.2.20-jessie "docker-entrypoint.s…" About a minute ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Flask Web Development, 2nd Edition

Flask Web Development, 2nd Edition

Miguel Grinberg
Flask Web Development

Flask Web Development

Miguel Grinberg

Publisher Resources

ISBN: 9781788995405Supplemental Content