Files
ai-gateway/.agent/workflows/setup_local_env.md

922 B

description
description
How to set up the local development environment using pyenv
  1. Install Python Install a compatible Python version (e.g., 3.11.9):

    pyenv install 3.11.9
    
  2. Set Local Version Set the local python version for this project:

    pyenv local 3.11.9
    
  3. Check Version Verify the correct version is active:

    python --version
    
  4. Create Virtual Environment Create a virtual environment to isolate dependencies:

    python -m venv .venv
    
  5. Activate Environment Activate the virtual environment:

    .\.venv\Scripts\activate
    
  6. Install Dependencies Install the required packages:

    pip install -r requirements.txt
    
  7. Run Application Start the server using the run script:

    python run.py