Scaffold Django project and add first-run auth flow

Sets up the Evection project structure: split settings supporting both
SQLite and PostgreSQL via DATABASE_URL, Celery+Redis wiring, and the
planned app layout (accounts, feeds, articles, rules, search, reader,
pwa, core). Implements multi-user auth with a FreshRSS-style first-run
setup wizard, login/logout, and admin-only user management, covered by
automated tests.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
ksmithandClaude Sonnet 5 committed 2026-10-30 15:56:58 -06:00
1 parent 986206fe40
commit c635cd9330
84 files changed
+897

No files matched your search

+56
View File
@@ -0,0 +1,56 @@
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "evection"
version = "0.1.0"
description = "Self-hosted RSS/Atom feed reader, inspired by FreshRSS, built in Python/Django."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "AGPL-3.0-or-later" }
dependencies = [
"django>=5.0,<5.3",
"celery>=5.3,<6",
"redis>=5,<6",
"feedparser>=6.0,<7",
"requests>=2.31,<3",
"nh3>=0.2,<1",
"defusedxml>=0.7,<1",
"django-environ>=0.11,<1",
"django-htmx>=1.17,<2",
"psycopg[binary]>=3.1,<4",
"gunicorn>=21,<24",
]
[project.optional-dependencies]
dev = [
"pytest>=8,<9",
"pytest-django>=4.8,<5",
"factory_boy>=3.3,<4",
"responses>=0.25,<1",
"freezegun>=1.4,<2",
"ruff>=0.4",
"black>=24",
]
[tool.setuptools]
py-modules = []
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = [".venv", "migrations"]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.black]
line-length = 100
target-version = ["py311", "py312"]
extend-exclude = "migrations"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings.test"
python_files = ["test_*.py", "*_test.py", "tests.py"]
testpaths = ["apps"]