fix: load .env via python-dotenv; SQLite default for local dev

This commit is contained in:
Piotr Oleszczyk 2026-02-26 20:51:13 +01:00
parent b140c55cda
commit 8d4f9d1fc6
5 changed files with 20 additions and 0 deletions

5
backend/.env.example Normal file
View file

@ -0,0 +1,5 @@
# Local dev — SQLite (no server required)
DATABASE_URL=sqlite:///./innercontext.db
# Production — PostgreSQL (set this in your deployment environment)
# DATABASE_URL=postgresql+psycopg://user:password@host:5432/innercontext