Skip to content

Step 3: Local Setup and Installing Python Dependencies

Let's install the Python packages required by the Function App:

  1. Ensure your VS Code terminal is in the src directory of the cloned repository:

    cd src
    
  2. Create a Python virtual environment using uv (this is faster than venv):

    All platforms:

    uv venv .venv
    
  3. Activate the virtual environment:

    macOS/Linux:

    source .venv/bin/activate
    

    Windows:

    .venv\Scripts\activate
    

    (Your terminal prompt should now be prefixed with (.venv))

  4. Install the required Python packages:

    All platforms:

    uv pip install -r requirements.txt
    

Note: We'll start the Functions host after verifying that all required settings are available from the provisioning process.