Skip to content

MIGRATION: Set up Keystatic CMS for content management #40

@jt14den

Description

@jt14den

Goal

Set up Keystatic CMS to enable Git-based content management and move away from Google Sheets round-tripping.

Context

See full migration plan: .github/MIGRATION_TO_KEYSTATIC.md

Current Problem: Lessons are stored in Google Sheets and fetched via CSV at build time. This creates issues with version control, code review, and collaborative editing.

Solution: Use Keystatic CMS with Astro content collections (singletons) for each lesson.

Tasks

  • Install Keystatic dependencies
    npm install @keystatic/core @keystatic/astro
  • Create keystatic.config.ts in project root
  • Configure Keystatic for GitHub storage
  • Set up authentication for Keystatic admin UI
  • Add Keystatic route integration to astro.config.mjs
  • Create /keystatic admin page
  • Test local editing at http://localhost:4321/keystatic
  • Document Keystatic setup in STUDENT_README.md

Acceptance Criteria

  • Keystatic admin UI accessible at /keystatic route
  • Can authenticate with GitHub
  • Configuration file properly set up
  • Documentation updated with Keystatic usage instructions

Reference Implementation

Time Estimate

4-6 hours

Dependencies

None - this is the foundation for the other migration issues

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions