macOS:
Python3 -m venv .venv
. .venv/bin/activate
Ubuntu
sudo apt install --yes python3-pip python3-venv
python3.10 -m venv $HOME/.venv
echo 'source $HOME/.venv/bin/activate' | tee -a $HOME/.bashrc
. $HOME/.venv/bin/activate
pip install -r requirements.txt
Install mongodb community server msi at https://www.mongodb.com/try/download/community
sudo apt-get install gnupg curl
curl -fsSL https://pgp.mongodb.com/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
--dearmor
###Create the /etc/apt/sources.list.d/mongodb-org-7.0.list file for Ubuntu 22.04 (Jammy): replace jammy with your version
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo systemctl start mongod
sudo systemctl status mongod
sudo systemctl stop mongod
flask --app index run