diff --git a/.gitmodules b/.gitmodules index 096e18c88..673aa118c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,3 +2,6 @@ path = Peekaboo url = https://github.com/steipete/Peekaboo.git branch = main +[submodule "skills/local-places/server"] + path = skills/local-places/server + url = https://github.com/Hyaxia/local_places.git diff --git a/skills/local-places/SKILL.md b/skills/local-places/SKILL.md index eefb74184..8e62f4cef 100644 --- a/skills/local-places/SKILL.md +++ b/skills/local-places/SKILL.md @@ -12,11 +12,14 @@ Search for nearby places using a local Google Places API proxy. Two-step flow: r ## Setup ```bash -cd ~/Projects/local_places +cd {baseDir}/server +echo "GOOGLE_PLACES_API_KEY=your-key" > .env +uv venv && uv pip install -e ".[dev]" uv run --env-file .env uvicorn local_places.main:app --host 127.0.0.1 --port 8000 ``` Requires `GOOGLE_PLACES_API_KEY` in `.env` or environment. +Server code is in `{baseDir}/server/` (submodule from Hyaxia/local_places). ## Quick Start diff --git a/skills/local-places/server b/skills/local-places/server new file mode 160000 index 000000000..bfc3becfc --- /dev/null +++ b/skills/local-places/server @@ -0,0 +1 @@ +Subproject commit bfc3becfc48af865722ef35ee7cca753519dd93e