Logo
Explore Help
Sign In
kriss/geniusrun
1
0
Fork 0
You've already forked geniusrun
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
644d87f1dcc47833a27dfb8770def011ea5d0409
geniusrun/frontend/start.sh

13 lines
251 B
Bash
Raw Normal View History

Fix Garmin connect race, surface tool error content, add dev start scripts - GarminConnection now flushes Profile's pending debounced autosave before connecting, avoiding a race where Connect fires with stale credentials. - client.go reads res.Content before checking IsError so tool error messages actually include mcp-garmin's response text. - seedsample: update kind lookups to match current taxonomy names ("Easy Run" -> "Easy", "Interval" -> "Intervals"). - Add backend/start.sh and frontend/start.sh dev launch scripts, and check in CLAUDE.md. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21 18:33:49 +02:00
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
# node/npm are installed via Homebrew (node@22) but not linked onto PATH.
export PATH="/opt/homebrew/opt/node@22/bin:$PATH"
if [ ! -d node_modules ]; then
npm install
fi
exec npm run dev
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 56ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API