polynomial

A central place to track your most vital KPIs

Stars
9
Committers
3

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

Now you can login with [email protected] and test as password. Afterwards, go into the database and set the account in account_emailaddress to "verified" true.

Run all the tests

make test

Debug stuff

make shell

Code quality

Type check

make typecheck

Format code

make format