Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 653 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (28 loc) · 653 Bytes

Contributing

Dependencies

Setup

  • Install Python dependencies with poetry
poetry install
  • Set up the database
poetry run python manage.py migrate
  • Start the API server
poetry run python manage.py runserver

Updating the database

If you modify any database models (models.py), you'll need to run the following to update the database:

poetry run python manage.py makemigrations
poetry run python manage.py migrate

Linting

poetry run mypy
poetry run black .