Demo seed data so a new dev gets a working deck in one command #49

Open
opened 2026-09-26 13:58:44 +00:00 by belvedere · 0 comments
Collaborator

Objective: mix ecto.reset should leave you on a page you can study immediately.

Files:

  • Modify: priv/repo/seeds.exs

Steps:

  1. Seed languages, a small frequency set, concepts and their links.
  2. Create a demo user with a deck and some review history, so the dashboard and heatmap are not
    empty on first run.
  3. Keep it small and deterministic — it must not depend on the network.

Verify: mix ecto.reset && mix phx.server shows a dashboard with real numbers.

**Objective:** `mix ecto.reset` should leave you on a page you can study immediately. **Files:** - Modify: `priv/repo/seeds.exs` **Steps:** 1. Seed languages, a small frequency set, concepts and their links. 2. Create a demo user with a deck and some review history, so the dashboard and heatmap are not empty on first run. 3. Keep it small and deterministic — it must not depend on the network. **Verify:** `mix ecto.reset && mix phx.server` shows a dashboard with real numbers.
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nickkeers/first-thousand-words#49
No description provided.