#!/bin/sh

python -m venv .venv
pyenv local 3.13
poetry env activate
poetry lock
poetry install --no-root

#hypercorn LeraFoxQueen.main:app --reload --bind 0.0.0.0:8001
#poetry run hypercorn LeraFoxQueen/main:app --reload --bind 0.0.0.0:8001
#uvicorn LeraFoxQueen.main:app --reload --host 0.0.0.0 --port 8001
uvicorn LeraFoxQueen.main:app --reload --host 127.0.0.1 --port 8001
