Repository navigation
docs: integration + deployment guides - #5
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two new docs under
firmware/docs/:INTEGRATION.md(~1135 lines) — single doc the iOS coding agent should read to build a SwiftUI app against the EvoLights system end-to-end. Covers cloud account auth (email/password, Apple, Google, password reset), JWT lifecycle, subscriptions (Stripe checkout + portal), LAN device discovery + local auth, the WLED JSON API as control surface, cloud relay, OTA push, admin endpoints, error envelope/codes, and iOS-specific notes (keychain, ATS, Bonjour, URL schemes, SDK pointers).DEPLOYMENT.md(~1029 lines) — operator runbook for a non-developer founder. Walks from a fresh server through Docker setup, secret generation (JWT, Postgres, MQTT, OTA Ed25519), Let's Encrypt for the broker, Stripe (test then prod), email (SMTP or Microsoft Graph), Apple/Google OAuth, replacing the dev OTA pubkey with production, booting the stack, bootstrapping admin, publishing the first signed firmware artifact, day-2 ops, and a full env-var reference.Both docs are derived directly from the source files (cloud routes, JWT/email/stripe/mosquitto libs, migrations, mosquitto config, key-gen tool, firmware auth + cloud_relay usermod). Where the source disagreed with the original outline, the source wins and the deviation is called out inline (most notably: device-side OTA verifier is on a separate branch and not yet on
evolights/main; firmware-side MQTT TLS is not yet implemented).Test plan
INTEGRATION.mdto the iOS coding agent and verify it can build the app without asking the cloud team further questions.DEPLOYMENT.mdstep-by-step against a fresh VM and confirm they reach a working stack.🤖 Generated with Claude Code