

- #Install mongodb on windows 10 how to
- #Install mongodb on windows 10 install
- #Install mongodb on windows 10 windows 10
This installs the GIT command line into our "GLOBAL NPM-Package" dir and we can use GIT now globally.

#Install mongodb on windows 10 install
To install GIT we only need to insert one command into our currently opened shell. I hope the installation was successful and we can move on to the next step which is fully optional.
#Install mongodb on windows 10 windows 10
In command promt insert -> cmd ENTER cd c:/ ENTER node -vĪfter we checked that everything was done right and is working we can install MongoDB by downloading it from the official site on Windows 10 or following one of the following tutorials. This can be done with the keys on your keyboard. To do so, we need to open a command shell on Windows. So please go ahead and download this release.Īfter installing NodeJS please install git so we can easily fetch our bot from GitHub. Now we need to download not the latest NodeJS version since "ZenBot" does require NodeJS version 8.x to run.

NodeJS is crucial for the installation since it contains the NPM-Packetmanager to install all the node modules required by our bot. If you need to insert a command in the shell and I don´t mention the distribution, you can insert the command on Windows or Linux equally.įor the sake of this tutorial, you need a Windows 10 or Ubuntu 16/18 machine with at least 100mb of free space and some experience with your operating system of choice. If you haven't read my first article covering "ZenBot" and "Gekko" you can do so here. But I will tell you more about the configuration after we have successfully installed our bot. These are easy to obtain and only needed if you want to start the bot in "live trading" mode. For these files, you need an API-Key from your exchange of chose.
#Install mongodb on windows 10 how to
In this tutorial, you will learn how to install and setup "ZenBot" on a Windows 10 machine and on an Ubuntu 16/18 server, installing NodeJS as a requirement and configuring your installation with a config file. I´m back with the second part of my new series about the trading bots "ZenBot" and "Gekko".

You assume all responsibility and liability. There are no warranties or guarantees expressed or implied. Get collection size for data and indexesĭb.storageSize() // Total size of document stored in the collectionĭb.totalSize() // Total size in bytes for both collection data and indexesĭb.I am not responsible for anything done with this bot(s). and related umber of operations performed Latency statistics for read, writes operations including average time taken for reads, writes Implicit session: session ) // Exclude field1 Once your MongoDB client successfully connects to the MongoDB server, then you will find below output along with other output:Ĭonnecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb So run the mongo.exe file in the bin folder in a cmd window.Ĭ:\downloads\mongodb-win32-x86_64-2012plus-4.2.1\bin>mongo.exe We want to test whether our MongoDB server is running or not and perform some database operations. Now MongoDB server runs on the default port: 27017 Navigate to the /bin folder in the cmd window and execute the mongod.exe file.Ĭ:\downloads\mongodb-win32-x86_64-2012plus-4.2.1\bin>mongod.exe Let's run the MongoDB server by executing the following command from the cmd window. Note if you do not create such directory then you will get below error in the console output: exception in initAndListen: NonExistentPath: Data directory :\data\db\ not found., terminating
