Skip to content

Claude/docs demo cf pages ni k tq - #13

Merged
vincentmakes merged 2 commits into
mainfrom
claude/docs-demo-cf-pages-niKTq
Apr 9, 2026
Merged

vincentmakes merged 2 commits into
mainfrom
claude/docs-demo-cf-pages-niKTq

Conversation

@vincentmakes

Copy link
Copy Markdown
Owner

No description provided.

claude added 2 commits April 9, 2026 09:48
The backend serves the React SPA from public/index.html, but the
Codespace setup only ran npm install without building. This caused
/admin/ and /t/demo/ to return {"error":"Admin panel not found"}.

Now the setup script runs npm run build and copies the output to
public/ so the app works immediately on port 8485.

https://claude.ai/code/session_0161AK6paBMXuxs7uThEWmjC
- setup.sh now starts uvicorn in the background after DB init, waits
  for /health to respond, then prints the ready message
- devcontainer.json adds postStartCommand to restart uvicorn when a
  stopped Codespace is resumed
- Port 8485 already has onAutoForward: "openBrowser" so the browser
  opens automatically to the running app

https://claude.ai/code/session_0161AK6paBMXuxs7uThEWmjC
@vincentmakes
vincentmakes merged commit 6b4eca5 into main Apr 9, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants