fuckingtech/.env.example
Elias Rhouzlane 5e0ebd2f94 chore: port to autokit 39 (client-db 17, admin 24, operator 11), server components kept
Replaces the legacy Bureau CMS stack (@bureaudouble/bureau, deno-sqlite-blob, Fresh-style RSC)
with the fleet layout: a defineProgram schema over the legacy tables (rows carry over by id), the
timeline-selected blob database (autokit.sqlite), the operator CLI and mf predeploy, the
package-shipped admin with a plugin per table, and the /api rpc/mcp/openapi door.

The pages still render as server components, wired like wtfutures: one Autokit session per
process, the request's db minted once in a createStart request middleware, read as context.db by
each page's server function and handed to the server components as a db prop; the rsc graph never
imports the session module (tests/one-session.test.ts).

French stays at / and English at /en, now through Autokit's locales: the *_en columns became the
translationsJson bag beside their French base text. The integer order columns of persons, roles
and resources became order keys (drag-to-reorder in the admin); media columns are stored-media
lists resolved through autokit-media. The age gate is the same shared page for every visitor: a
head script marks a visitor who already answered, before the first paint.
2026-10-31 19:08:41 +01:00

12 lines
507 B
Shell

# The environment floor (CONVENTIONS §13). Nothing else: credentials, the admin and the sharp
# endpoint are rows or literals — `deno task db describe` / `db mutate` (see `db mutate --help`).
APP_KEY= # 64-char hex — seals provider-config rows, signs cookies
APP_URL=http://localhost:3000
SERVER_PORT=3000
# The S3 bucket that holds the SQLite database blob and the media.
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_ENDPOINT_URL=
S3_BUCKET_REGION=auto
S3_DEFAULT_BUCKET=
S3_PUBLIC_URL=