# Enter into the project directory
cd digital-library-code
# To create a virtual environment, you can use the venv module that comes with Python
python -m venv .venv
# Activate the new virtual environment
# - On Windows PowerShell, run
.venv\Scripts\activate
# - On Unix or MacOs, run
source .venv/bin/activate
# Upgrade pip
python -m pip install --upgrade pip
# Install packages from requirements.txt
pip install -r requirements.txt
# Run the service
fastapi dev main.py
...