Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 628 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 628 Bytes

Installing dependencies

pip install poetry uvicorn
poetry install

Running the server locally

poetry run python -m uvicorn main:app --reload --port 8080

Open http://localhost:8080/docs with your browser to see the docs.

Building the container

docker build -t [tag] .

Running the container

docker run -p 8080:8080 [tag]

Pushing the container

docker push [registry]

Generate migrations

python -m alembic revision --autogenerate -m "message"

Run migrations

python -m alembic upgrade head