Skip to main content

deploy

Deploy a Sapphire service locally or check its status

소스 정보

저장소
arigatoexpress/Sapphire
최근 소스 활동
2026년 4월 6일 23:18
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
deploy
description
Deploy a Sapphire service locally or check its status
disable-model-invocation
true
# /deploy — Sapphire Service Deployment Deploy or restart a Sapphire service. All services run on Mac with LaunchAgents. ## Usage ``` /deploy <service> # Start/restart the service /deploy <service> status # Check if running /deploy all status # Check all services ``` ## Services | Service | Port | LaunchAgent | |---------|------|-------------| | control-plane | 8082 | com.sapphire.control-plane | | dashboard | 8080 | com.sapphire.dashboard | | signal-logger | 18081 | com.sapphire.signal-logger | | telegram-bot | — | com.sapphire.nemotron-bot | | openbb | 6900 | com.sapphire.openbb-api | | redis | 6379 | homebrew.mxcl.redis | ## How to Deploy 1. Check if the service is running: `curl -s http://127.0.0.1:<port>/health` 2. If down, restart via LaunchAgent: `launchctl kickstart -k gui/$(id -u)/<launchagent>` 3. Verify it's back: retry the health check 4. Log deployment event to `data/system_events.jsonl` ## Windows Services (via SSH) | Service | Port | Scheduled Task | |---------|------|---------------| | ollama | 11434 | OllamaTailscale | | webhook | 9090 | SapphireWebhook | Restart via: `ssh workbench "powershell -Command Start-ScheduledTask -TaskName '<task>'"` ## Pre-deploy Checks Before deploying, always: 1. Run `ruff check` on the service directory 2. Run related tests: `python3 -m pytest tests/unit/ -q --tb=no` 3. Check for uncommitted changes: `git status --short`
GitHub에서 보기