Maintenance¶
This page describes how to maintain the project. This includes running scripts, creating lockfiles, and running tests.
Scripts¶
There are several scripts that can be run directly from the command line. They can be run by running:
./scripts/<script_name>
Common scripts¶
./scripts/dev
- Starts a local development server on port 8000./scripts/docs
- Builds and serves the documentation locally./scripts/makemigrations
- Creates new migrations based on the changes made to the models./scripts/migrate
- Applies the migrations to the database
Tests¶
Run the tests:
pytest
Lockfiles¶
Update the lockfile:
uv lock