- Setup poetry and install requirements (
poetry install) - Rename
.env.distto.envand configure it - Run virtual env with
poetry shellcommand - Run database migrations with
make migratecommand - Run
make createsuperuserto 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
