Skip to content

langhe-org/server

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages