Eve: Building RESTful APIs with MongoDB and Flask Transcripts
Chapter: Setup and tools
Lecture: Installing Mongo
0:01 Eve uses Mongo as its default database,
0:03 so it shouldn't be surprising that it's going to require MongoDB.
0:06 If you haven't already, you should go to the Mongo download center
0:10 and download and install your desired version.
0:13 As you can see, Mongo comes in two different flavors—
0:16 the community server and the enterprise server.
0:19 The enterprise server is basically the commercial edition of Mongo,
0:22 it has a few features such as an in-memory storage engine,
0:27 option of encrypting your data at Rest
0:31 and a few advanced security features.
0:34 If you don't need any of these, you can go download
0:36 and install community server which is, by the way, totally free,
0:41 open source and it's perfectly good.
0:44 Now, if you look across the bottom here,
0:46 we see that we have three different versions of the installation program,
0:49 one for Windows, one for Linux, and the last one for MacOS.
0:54 On the Mac, we only have one version available
0:57 and then we have to pick the installation method.
1:00 we can download the tar file and then manually install it,
1:04 or we can use Homebrew.
1:06 If you're confident with Homebrew
1:08 which is the de facto package manager on the Mac,
1:11 I recommend using it because installing will be simple
1:15 and also in the future, upgrading to new releases of Mongo will be way easier.
1:21 On Windows, again, only one version available,
1:25 and it's super simple installation because
1:28 all you have to do is you just download the installation package and launch it.
1:31 On Linux, you have to pick the distribution you want and then again,
1:38 you can download the tar file and manually install it
1:41 or use the package manager available on your distribution.
1:45 Again, I recommend using a package manager
1:48 because installing and upgrading Mongo will be easier on your system.
1:53 So, regardless of what operating system you are using,
1:56 you should be able to use Mongo install locally and work with it there.
2:00 In the appendix of this course, you will also find step by step instructions
2:04 on how to properly set up Mongo on your own operating system.
2:09 There are also hosted services, places like mLab or MongoDB Atlas,
2:17 which is provided by the Mongo company itself,
2:20 so in case you can't install or configure Mongo,
2:23 you could always try and connect to one of these services.