官术网_书友最值得收藏!

Technical requirements

The minimum recommended hardware required for this chapter are as follows:

  • Desktop PC or laptop
  • 2 GB free disk space
  • 4 GB of RAM
  • 500 KBPS or faster internet connection.

The software requirements for this chapter are  as follows:

  • OS (Linux or macOS): Docker, Docker Compose, Git (optional)
  • OS (Windows): Docker for Windows and Git for Windows
  • Python 3.x and the PyMongo driver (already installed in the Docker container used for the book)

The installation of the required software and how to restore the code repository for the book is explained in Chapter 2, Setting Up MongoDB 4.x. To run the code examples in this chapter, open a Terminal window (or Command Prompt) and enter these commands:

cd /path/to/repo
docker-compose build
docker-compose up -d
docker exec -it learn-mongo-server-1 /bin/bash

When you are finished practicing the commands covered in this chapter, be sure to stop Docker as follows:

docker-compose down

The code used in this chapter can be found in the book's GitHub repository at https://github.com/PacktPublishing/Learn-MongoDB-4.x/tree/master/chapters/04.

 

主站蜘蛛池模板: 垫江县| 韶山市| 聂拉木县| 容城县| 隆化县| 天长市| 新巴尔虎右旗| 阿勒泰市| 武乡县| 潼关县| 克东县| 怀化市| 霍邱县| 静宁县| 莱州市| 玉屏| 民权县| 景东| 湘西| 奇台县| 台前县| 扎兰屯市| 洮南市| 新闻| 临城县| 光泽县| 新晃| 龙山县| 五台县| 岚皋县| 玉田县| 安宁市| 蓬安县| 大埔县| 博兴县| 扶风县| 黎平县| 乌海市| 阿图什市| 永定县| 凤山县|