ATXP-260: Switch demo to single server and use npm run#8
Merged
robdimarco-atxp merged 3 commits intomainfrom Sep 10, 2025
Conversation
Replace git pull with fetch + reset --hard to avoid divergent branch conflicts. This ensures the demo repository always matches the remote exactly, discarding any local changes that might have been made during demo usage. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Replace frontendPort and backendPort with single port parameter - Update CLI args to use --port/-p instead of --frontend-port/--backend-port - Default port changed to 8017 (previously backend port) - Simplify .env file creation to single root .env instead of separate files - Update environment variables and browser opening to use single port - Aligns with new architecture of unified server handling both frontend and backend 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
The demo server no longer needs .env files as it will use environment variables passed directly through the spawn process. This simplifies the demo setup and aligns with the unified server architecture. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <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
Changes
git pullwithgit fetch+git reset --hard origin/mainto avoid divergent branch conflictsportinstead offrontendPortandbackendPort--frontend-port/--backend-portto--port/-pTest plan
npm run dev demoworks without git errorsnpm run dev demo --port 3000uses custom portnpm run dev demo --verboseshows detailed logsCloses ATXP-260
🤖 Generated with Claude Code