- Setup poetry and install requirements (
poetry install
) - Rename
.env.dist
to.env
and configure it - Run virtual env with
poetry shell
command - Run database migrations with
make migrate
command - Run
make createsuperuser
to create superuser - Run server
uvicorn main:app --host 0.0.0.0 --port 80
- Run
docker-compose up --build
Make migration script:
make migration message=YOUR_MIGRATION_MESSAGE_HERE
Run migrations:
make migrate
To run tests, run the following command
pytest tests