Files
GlowTrack/specs/001-glowtrack-a-mood/quickstart.md
Danilo Reyes 2f096d0265 feat: Add GlowTrack mood and habit wellbeing grid specifications
- Introduced export schema for JSON data structure.
- Created renderer contract detailing canvas/SVG rendering requirements.
- Defined IndexedDB storage schema and migration strategies.
- Documented data model including entities and relationships.
- Developed implementation plan outlining execution flow and project structure.
- Provided quickstart guide for development environment setup.
- Compiled research documentation on performance, accessibility, and theming.
- Established feature specification with user scenarios and functional requirements.
2025-09-18 00:36:13 -06:00

718 B

Quickstart — GlowTrack

Prerequisites

  • Nix installed (flakes enabled)

Dev Environment

  • Enter dev shell:
    • nix develop
  • Install JS deps (first time):
    • pnpm install
  • Run typecheck and lints:
    • pnpm run svelte-check
    • pnpm run lint

Run App (dev)

  • Start web app:
    • pnpm run dev
  • Open in browser (URL printed by dev server)

Build (static site)

  • Build via Nix flake:
    • nix build .#app
  • Or via pnpm:
    • pnpm run build

Tests

  • Unit tests:
    • pnpm run test
  • E2E smoke (headed/CI):
    • pnpm run test:e2e

Export/Import

  • Export JSON (in-app): Settings → Export → JSON
  • Import JSON: Settings → Import → select file
  • Export PNG: Share/Export → PNG (screen resolution)