Skip to content

docs: clarify safe local env setup#133

Open
b1rdmania wants to merge 1 commit into
willchen96:mainfrom
b1rdmania:codex/safe-local-env-docs
Open

docs: clarify safe local env setup#133
b1rdmania wants to merge 1 commit into
willchen96:mainfrom
b1rdmania:codex/safe-local-env-docs

Conversation

@b1rdmania
Copy link
Copy Markdown

Summary

  • surface the existing safe local testing guidance earlier in the README
  • recommend disposable Supabase/R2/model-provider resources and synthetic documents for first runs
  • split frontend env examples into browser-safe public vars and server-side Next runtime vars
  • clarify that SUPABASE_SECRET_KEY must never be exposed as a NEXT_PUBLIC_* value

Validation

  • git diff --check

Documentation-only change.

amal66 added a commit to amal66/mike that referenced this pull request May 25, 2026
Chapter: 33 - Safe local development.

Plain-English map:
Document how to avoid using production databases, production buckets, real
client documents, or browser-exposed service-role keys during local testing.

Why it matters:
New contributors can accidentally leak sensitive data or admin credentials
while only trying to run the app. The docs should prevent that mistake early.

Principle:
Good setup docs are a security control.

Precedent borrowed:
Upstream PR willchen96#133.

Upstream base: willchen96/mike@d39f580.
Original local commit: 5e3608b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant