From 7cee31c0d7dc414538df64d07602240f97919af7 Mon Sep 17 00:00:00 2001 From: Prajwal Deshpande <71492927+prajwalpd7@users.noreply.github.com> Date: Mon, 22 Jan 2024 17:37:01 +0530 Subject: [PATCH] Added missing prerequisites for Flask and pip installation (#310) --- .../quickstart/python-flask-mongo.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md b/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md index dd0247156..f467cac50 100644 --- a/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md +++ b/versioned_docs/version-2.0.0/quickstart/python-flask-mongo.md @@ -26,6 +26,15 @@ keyword: - Install WSL (`wsl --install`) for Windows Windows. +### Install Python and pip + +```bash + sudo apt update + sudo apt install python3 + sudo apt install python3-pip +``` + + ## Optional 🛠️ - Install Colima( `brew install colima && colima start` ) for MacOS MacOs. @@ -256,6 +265,12 @@ Depending on your OS, choose your adventure: In `app.py`, replace the MongoDB connection URL with - `mongodb://0.0.0.0:27017/` + Install the required Python packages: + + ```bash + pip install -r requirements.txt + ``` + Ready, set, record! Here's how: ```bash