Django 5.2 with dev/test/prod settings, SQLite tuned for Litestream (WAL, IMMEDIATE transactions), ULID primary keys via a shared base model, and a custom User model ahead of the first migration. Minimal accessible base template with dark mode via color-scheme and an optional theme picker. /healthz answers before host validation so Fly checks pass. Dockerfile (dev and prod targets), compose for local dev, fly.toml with placeholder app/region, Litestream backups to B2, and a Forgejo Actions workflow. Migrations run in bin/start because Fly release machines don't mount volumes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
680 B
TOML
32 lines
680 B
TOML
[project]
|
|
name = "intent"
|
|
version = "0.1.0"
|
|
description = "Track the why behind features, across implementations."
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"django>=5.2,<5.3",
|
|
"django-storages[s3]>=1.14.6",
|
|
"gunicorn>=26.2.0",
|
|
"python-ulid>=4.0.1",
|
|
"sentry-sdk[django]>=2.73.0",
|
|
"whitenoise>=6.12.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.1.1",
|
|
"pytest-django>=4.14.0",
|
|
"ruff>=0.17.3",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py313"
|
|
extend-exclude = ["*/migrations/*"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "DJ"]
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "config.settings.test"
|
|
testpaths = ["tests"]
|