Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 459 Bytes

README.md

File metadata and controls

25 lines (24 loc) · 459 Bytes

for start in docker

docker-compose up

for migrations in docker

docker-compose exec textsearch alembic upgrade head

If you start without docker crete .env file , with settings of database , like this

POSTGRES_DB=postgres
POSTGRES_USER=route_admin
POSTGRES_PASSWORD=route_admin
POSTGRES_HOST=db
POSTGRES_PORT=5433

after run server

uvicorn main:app --reload

and get migrations

alembic upgrade head