Repository navigation
Docs: Run Your Own Superhero, a self-hosting guide for the full stack - #4
Open
Jeanclaudeaoun wants to merge 1 commit into
Open
Jeanclaudeaoun wants to merge 1 commit into
Jeanclaudeaoun wants to merge 1 commit into
Conversation
…tack A new section under Build that walks an operator through every service behind superhero.com: - Node, middleware and compiler: ae_mdw from snapshots, the paths the API reads, and where the endpoints are set. - API and indexer: build, configuration, first-time database setup (tested on PostgreSQL 16 against superhero-api main), indexing progress and the HTTP surface. - Charts and history: which charts are computed on read, which are rebuilt on a schedule, AE price data, and how a new instance fills in. - Web app: build- and run-time settings, the CSP, passkeys and the domain-bound features. - Chat relay: groups_relay, TLS, the admin key shared with the API. - Governance backend, contracts (public or your own), keys and integrations, and operations with a launch checklist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Az8TKjLpFXw9ouAdoyLDs
This branch has not been deployed
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.
What this adds
A new section under Build, Run Your Own Superhero, that walks an operator through every service behind superhero.com, in the order to bring them up:
ae_mdwfrom snapshots, the paths the API reads, reverse-proxy layout, where the endpoints are set, the compiler, the explorergroups_relay, TLS with automatic renewal, the admin key shared with the API (TG_RELAY_URL,TG_BOT_NSEC), pointing the app at itgovernance-server, its settings and routes, pointing the clients at it.chainsponsoring, web/mobile push, GIFs, trending tags, affiliation sign-in, the agent skillOnly new files plus one line in
pages/_meta.json, so it is independent of #3.How it was checked
mainofsuperhero,superhero-api,aepp-governance,ae_mdw,groups_relayand the contract repositories.superhero-apimainon PostgreSQL 16 and Redis: the three documented steps build the schema, record the ten migrations the entities already cover, apply the other 28 on start, and the API comes up with live sync active, the backfill running and posts served within seconds.python3 scripts/lint-mdx.py: 0 issues across 162 pages.npm run build: all ten pages render.Things to confirm
superhero-api: a baseline migration so a new database needs only the normal start. This is a database change, so dev environment first and with your approval.superhero-apiandsuperhero: environment variables for the node, middleware and compiler URLs, which are set in code today.Generated by Claude Code