Skip to content

Fix/devcontainer local setup#520

Merged
madebygps merged 2 commits into
mainfrom
fix/devcontainer-local-setup
May 30, 2026
Merged

Fix/devcontainer local setup#520
madebygps merged 2 commits into
mainfrom
fix/devcontainer-local-setup

Conversation

@madebygps

Copy link
Copy Markdown
Collaborator

Summary

Checklist

  • This PR changes both api/alembic/versions/ AND app code that depends on the new schema. If checked, explain why the split isn't being followed.

madebygps and others added 2 commits May 29, 2026 23:31
The Aspire devcontainer feature installs the VS Code extension, which
pulls in C# DevKit and .NET Installer as transitive dependencies. We
only need the Aspire CLI for the MCP server (aspire agent mcp).

Switched to installing the Aspire CLI via the standalone install script
in on-create.sh instead. This keeps the CLI available without the
unnecessary extensions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…irect

Two issues made local development broken out of the box:

1. The post-create script ran Alembic migrations but never synced the
   curriculum YAML content into the database, so the dashboard loaded
   empty with no phases or topics.

2. The OAuth redirect URI defaulted to HTTPS even locally (no TLS),
   causing GitHub to reject the callback with a redirect_uri mismatch.

Changes:
- post-create.sh: run content sync after alembic upgrade head
- post-create.sh: auto-add WEB_SECURITY__REQUIRE_HTTPS=false to .env
- .env.example: document WEB_SECURITY__REQUIRE_HTTPS=false default

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@madebygps madebygps merged commit a014203 into main May 30, 2026
15 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.

1 participant