Skip to content

Files

Latest commit

c8a0c69 · Feb 17, 2024

History

History

part-04-pydantic-schemas

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Part 4 Local Setup

  1. pip install poetry (or safer, follow the instructions: https://python-poetry.org/docs/#installation)
  2. Install dependencies cd into the directory where the pyproject.toml is located then poetry install
  3. [UNIX]: Run the FastAPI server via poetry with the bash script: poetry run ./run.sh
  4. [WINDOWS]: Run the FastAPI server via poetry with the Python command: poetry run python app/main.py
  5. Open http://localhost:8001/

To stop the server, press CTRL+C

If you get stuck, checkout the troubleshooting readme