feat: add setup script and Nango secret key env override#8
Merged
nick-inkeep merged 3 commits intomainfrom Feb 17, 2026
Merged
Conversation
8 tasks
- README.md: add automated setup section, fix .env filename, fix sed placeholder, fix docker compose v2 syntax, document NANGO_SECRET_KEY_DEV generation step - .env.docker.example: add NANGO_SECRET_KEY_DEV with usage comment, clarify dashboard creds are only used when auth enabled - nango-instructions.md: fix .env filename, fix sed syntax for macOS, fix volume name, remove legacy app paths, add env var override as recommended key retrieval method, add automated setup note Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ent refs Nango validates secret keys as UUID v4. Updated key generation in setup.sh, README, and nango-instructions to use openssl+sed formatting instead of raw hex. Updated README to reference .optional-services/ as the default clone target. Replaced hardcoded docker volume rm with portable docker compose down -v. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12fad22 to
aa93e21
Compare
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
scripts/setup.sh— automated setup script that starts all services, generates credentials (Nango secret key, SigNoz PAT), and writes 9 env vars to the caller's.envNANGO_SECRET_KEY_DEVenv var override so the monorepo shim can pre-generate a Nango key instead of scraping the dashboard.optional-services/default placementnango-instructions.mdwith portabledocker compose down -v(replaces hardcoded volume name)Test plan
CALLER_ENV_FILE=/tmp/test.env ./scripts/setup.shcompletes, writes all 9 env vars, all containers healthy./scripts/setup.sh --statusshows running services./scripts/setup.sh --stopstops all services./scripts/setup.sh --resetremoves data and re-runs setupNANGO_SECRET_KEY_DEVin.envis picked up by nango-server container🤖 Generated with Claude Code