Private
Public Access
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:
1 parent
986206fe40
commit
c635cd9330
84 files changed
+897
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# Copy to .env and adjust for your environment.
|
||||
|
||||
# A long, random, secret value — never commit your real one.
|
||||
SECRET_KEY=change-me-to-a-long-random-value
|
||||
|
||||
DEBUG=False
|
||||
ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
|
||||
# SQLite (default, zero-config):
|
||||
DATABASE_URL=sqlite:///db.sqlite3
|
||||
# Postgres:
|
||||
# DATABASE_URL=postgres://evection:password@localhost:5432/evection
|
||||
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
|
||||
# Open account registration is off by default; the first account created via
|
||||
# the setup wizard becomes the instance admin.
|
||||
EVECTION_SIGNUP_ENABLED=False
|
||||
|
||||
# Global floor for any feed's polling interval, in minutes.
|
||||
EVECTION_MIN_FETCH_INTERVAL_MINUTES=15
|
||||
|
||||
# Bump this on deploys that change cached static assets to invalidate old
|
||||
# service worker caches.
|
||||
EVECTION_PWA_CACHE_VERSION=v1
|
||||
Reference in new issue
Block a user