Skip to content

Deploy: learn-albert.fly.dev - #77

Open
Azrkiel wants to merge 7 commits into
mainfrom
deploy/fly
Open

Azrkiel wants to merge 7 commits into
mainfrom
deploy/fly

Conversation

@Azrkiel

@Azrkiel Azrkiel commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Adds the Fly.io deployment for the demo: https://learn-albert.fly.dev

  • Dockerfile (node 24 slim, full repo since the server reads fixtures/ and skills/), .dockerignore, fly.toml.
  • One always-on machine (auto_stop_machines = off), STORE=memory so the demo course and Worksheet 3 seed on start; live Bedrock. Secrets set with fly secrets import from the local env (none in the repo).
  • Deployed from this branch (main + Hints never end in an error card (More help / second I'm stuck) #76). Smoke: /, /work/calc2-ws3, /api/health (db+llm true), PDF pages JSON + page PNG, worksheet API all 200; one live I'm stuck on the site returned a rung-1 hint in 2.7 s, no error card.

Deploy: fly deploy -a learn-albert --remote-only --depot=false.

🤖 Generated with Claude Code

Azrkiel and others added 7 commits November 15, 2026 07:12
One always-on machine with STORE=memory (seeds the demo course on start);
secrets set with fly secrets, never in the repo. Full repo in the image
because the server reads fixtures/ and skills/ at runtime.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Cache Components, GET /api/source/courses had no request-time API, so
next build prerendered the empty list and served it forever (x-nextjs-cache:
HIT): after Import course, /courses still said "No courses yet". await
connection() makes it dynamic. Verified: the route is no longer in the
prerender manifest; import from Azrkiel/albert-files then lists the course.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant