Skip to content

corradio/polynomial

Repository files navigation

Polynomial

Installing dependencies

poetry install
yarn
pre-commit install

Database

Start database

docker-compose up pgdb

Initiate db with migrations

make initdb

Seed some data

make seed

Run migrations

poetry run python manage.py migrate

Create a new migration once the model has been changed

poetry run python manage.py makemigrations

Reset db (if something goes wrong with migrations)

make resetdb

Run everything (server + javascript/css watcher + db + cache)

make rundev

Run all the tests

make test

Debug stuff

make shell

Code quality

Type check

make typecheck

Format code

make format