Repository navigation
docs: run the apps locally as debug apps through the Serverpod MCP - #45
Merged
Merged
Conversation
Make the Serverpod runner plus `spawn_flutter_app` debug apps the default way to run and try the apps (AGENTS.md, "Running locally"): one-time setup, starting the server (ephemeral ports are fine when another runner holds 8080-8082), the apps' dev URLs, and the registration code in the server log. The runner passes SERVER_URL, which overrides apiUrl from config.json, so the apps reach the server whatever port it bound. Note that links between apps, per-app sign-in and web-server links break locally by design. Limit release builds to checking the production bundle, and align CONTRIBUTING, the server/Drive/Slides READMEs and spec 01. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Makes the Serverpod runner plus debug apps started with
spawn_flutter_appthe default way to run and try the apps locally, instead of release builds.flutter pub getin the repository root, then copypasswords.example.yamltopasswords.yaml. No Docker is needed: development uses an embedded PostgreSQL.serverpod runner start. Ephemeral ports are fine when another runner holds 8080–8082.spawn_flutter_app. Each one runs on its own dev port (Drive 8100, Write 8101, Sheets 8102, Slides 8104).--dart-define=SERVER_URL=<API address>, which overridesapiUrlfromassets/config.json(AppUrls.load). This also works when the server bound ephemeral ports.webUrl, port 8082) break locally by design, and that agents shouldn't changeconfig.json,AppUrlsor the link code to fix them.CONTRIBUTING.md,wonky_server/README.md(it had the wrong folder), the Drive and Slides READMEs (Drive claimed it launched automatically) and spec 01 §2.4.Test plan
spawn_flutter_appreached the API on its ephemeral port, sign-up worked and the registration code was in the server log🤖 Generated with Claude Code