Files
smesh/.claude/commands/deploy.md
woikos cdfd034c68 Support CAT token in bunker URLs for NIP-46 connections (v0.2.2)
- Add 'bunker' to SignerType with isRemote getter and displayName
- Parse CAT token from bunker URL (?cat= parameter)
- Pass CAT token to BunkerSigner constructor
- Store bunkerCatToken in account for reconnection
- Add deploy command documentation

Files modified:
- src/domain/identity/SignerType.ts: Add bunker signer type
- src/providers/NostrProvider/bunker.signer.ts: Parse and use CAT tokens
- src/providers/NostrProvider/index.tsx: Pass CAT to login/reconnect
- src/types/index.d.ts: Add bunkerCatToken to TAccount

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 13:02:34 +01:00

642 B

Deploy Command

Deploy smesh to the VPS at 10.0.0.1, serving on port 3008 behind smesh.mleku.dev.

Instructions

  1. Build the project locally:

    npm run build
    
  2. If build fails, fix any errors and retry before proceeding.

  3. Sync the dist folder to the VPS:

    rsync -avz --delete dist/ 10.0.0.1:~/smesh/dist/
    
  4. Restart the smesh service on the VPS:

    ssh 10.0.0.1 "sudo systemctl restart smesh"
    
  5. Verify the service is running:

    ssh 10.0.0.1 "sudo systemctl status smesh"
    
  6. Report the deployment status and the URL: https://smesh.mleku.dev

$ARGUMENTS