diff options
Diffstat (limited to 'Deploy.md')
| -rw-r--r-- | Deploy.md | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -60,6 +60,31 @@ ssh golive 'docker logs whois-app -f' 4. `git remote add hetzner golive:/var/git/<name>.git` 5. `git push hetzner master` +## Claude Code リモートセッション(デーモン) + +各リポジトリに対して Claude Code を常駐プロセスとして起動する。 + +```bash +scp scripts/claude-daemon-setup.sh golive:~/ +ssh golive 'bash claude-daemon-setup.sh' +``` + +起動後は [https://claude.ai/code](https://claude.ai/code) から各リポジトリのセッションに接続できる。 + +| サービス名 | 対象ディレクトリ | +|---|---| +| `claude-infra` | `/app/infra` | +| `claude-tokyo` | `/app` | +| `claude-whoisband` | `/app/whois-band` | + +```bash +# 状態確認 +ssh golive 'systemctl status claude-tokyo' + +# ログ確認 +ssh golive 'journalctl -u claude-tokyo -f' +``` + ## 初回サーバーセットアップ(再構築時) ```bash |
