Plant registry, grow event calendar, and gardening knowledge base populated via cf-harvest ingest endpoint. All 23 tests passing. Stack: - FastAPI + SQLite (cf-core migrations) on port 8522 - Vue 3 + Vite + Pinia SPA on port 8521 - 5 SQL migrations: locations → plants → grow_events, knowledge_sources → knowledge_facts - Earthy green theme (--color-primary: #4a7c59) matching CF theme system Knowledge ingest contract: - POST /api/v1/knowledge/ingest — idempotent on fact_hash (sha256 of type+payload+video_path) - 8 fact types: companion_planting, soil_amendment, propagation, pest_diagnosis, harvest_timing, instruction, medicinal, history_context - Partial batch failure: malformed facts collected in rejected[], valid facts inserted - Re-ingesting same video batch: facts_skipped_duplicate > 0, no duplicates Wired views: RegistryView (plant CRUD), KnowledgeView (facts + type filter chips) Stub views: CalendarView, SettingsView
22 lines
641 B
Text
22 lines
641 B
Text
# Waxwing API configuration — copy to .env and fill in values
|
|
# .env is gitignored; this file is committed as a template
|
|
|
|
API_PREFIX=/api/v1
|
|
DEBUG=false
|
|
|
|
# Data storage
|
|
DATA_DIR=./data
|
|
DB_PATH=./data/waxwing.db
|
|
|
|
# CORS — space or comma-separated origins
|
|
CORS_ORIGINS=http://localhost:8521,http://localhost:5173
|
|
|
|
# cf-orch coordinator (optional — leave blank for local-only use)
|
|
COORDINATOR_URL=http://localhost:7700
|
|
|
|
# License key (required for Paid/Premium tier features)
|
|
# CF_LICENSE_KEY=CFG-WXWG-XXXX-XXXX-XXXX
|
|
|
|
# Cloud mode (optional — enables per-user data isolation)
|
|
CLOUD_MODE=false
|
|
# CLOUD_DATA_ROOT=/devl/waxwing-cloud-data
|