Eve: Building RESTful APIs with MongoDB and Flask Transcripts
Chapter: Setup and tools
Lecture: Installing Mongo

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Eve uses Mongo as its default database, so it shouldn't be surprising that it's going to require MongoDB.
0:07 If you haven't already, you should go to the Mongo download center and download and install your desired version.
0:14 As you can see, Mongo comes in two different flavors— the community server and the enterprise server.
0:20 The enterprise server is basically the commercial edition of Mongo, it has a few features such as an in-memory storage engine,
0:28 option of encrypting your data at Rest and a few advanced security features. If you don't need any of these, you can go download
0:37 and install community server which is, by the way, totally free, open source and it's perfectly good. Now, if you look across the bottom here,
0:47 we see that we have three different versions of the installation program, one for Windows, one for Linux, and the last one for MacOS.
0:55 On the Mac, we only have one version available and then we have to pick the installation method.
1:01 we can download the tar file and then manually install it, or we can use Homebrew. If you're confident with Homebrew
1:09 which is the de facto package manager on the Mac, I recommend using it because installing will be simple
1:16 and also in the future, upgrading to new releases of Mongo will be way easier. On Windows, again, only one version available,
1:26 and it's super simple installation because all you have to do is you just download the installation package and launch it.
1:32 On Linux, you have to pick the distribution you want and then again, you can download the tar file and manually install it
1:42 or use the package manager available on your distribution. Again, I recommend using a package manager
1:49 because installing and upgrading Mongo will be easier on your system. So, regardless of what operating system you are using,
1:57 you should be able to use Mongo install locally and work with it there. In the appendix of this course, you will also find step by step instructions
2:05 on how to properly set up Mongo on your own operating system. There are also hosted services, places like mLab or MongoDB Atlas,
2:18 which is provided by the Mongo company itself, so in case you can't install or configure Mongo,
2:24 you could always try and connect to one of these services.


Talk Python's Mastodon Michael Kennedy's Mastodon