Private
Public Access
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>
26 lines
772 B
Bash
26 lines
772 B
Bash
# 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
|