- NewOptions.AdminSecret: summer new writes SUMMER_ADMIN__JWT__SECRET to .env (still 0600), generated from 32 crypto/rand bytes when empty and validated as at least 32 .env-safe characters - .env.example gets an empty SUMMER_ADMIN__JWT__SECRET= placeholder with a comment; the secret never reaches the printed next steps - The next steps and the generated CLAUDE.md explain the admin at /backend: make:admin-controller, build, migrate and summer admin:create --email you@example.com --superuser - Goldens use a fixed, non-secret admin secret fixture - Scaffolding, installation and users-and-permissions docs updated
15 lines
860 B
Plaintext
15 lines
860 B
Plaintext
# The variables .env sets. summer new wrote a .env with a fresh key; copy this
|
|
# file to .env only when you need to start over.
|
|
SUMMER_DATABASE__DSN=postgres://summer:summer@127.0.0.1:54320/demo?sslmode=disable
|
|
# A 32-byte base64 application key. Generate one with ./bin/demo key:generate
|
|
# and paste only the key, without the leading check mark.
|
|
SUMMER_APP__KEY=
|
|
# Signs backend admin tokens; the admin refuses to start without it once a
|
|
# plugin registers an admin controller. summer new wrote a random value to .env;
|
|
# any long random string works, for example one from ./bin/demo key:generate.
|
|
SUMMER_ADMIN__JWT__SECRET=
|
|
# Uploads bucket; config/storage.yaml already sets this default.
|
|
# SUMMER_STORAGE__UPLOADS__BUCKET_URL=file://./storage/app/uploads
|
|
# Configuration environment; selects the config overlay (default production).
|
|
# SUMMER_ENV=development
|