| name | remote-deployment |
| description | Deploy SuperLandings Go to remote servers with hotify-cli and Traefik |
SuperLandings Go Remote Deployment
Remote Execution via HTTP API
Manage sites from local CLI via a remote daemon's HTTP API — no SSH needed for day-to-day ops.
sl-cli targets add --name <name> --host <IP> --port 3100 --token <token> --default
sl-cli site list --target dk2
sl-cli backend status --target dk2
sl-cli site upload site "img.png" --file ./img.png --target dk2
Initial Deployment
1. Build & Copy Binary
go build -o sl-cli ./cmd/sl-cli
scp sl-cli <USER>@<SERVER_IP>:/tmp/sl-cli-new
ssh <USER>@<SERVER_IP> "sudo cp /tmp/sl-cli-new /home/<USER>/sl-cli && sudo chown <USER> /home/<USER>/sl-cli"
2. Start Daemon
ssh <USER>@<SERVER_IP> "sudo -u <USER> nohup /home/<USER>/sl-cli backend start \
--daemon --port 3100 --no-systemd --auth-token <TOKEN> > /dev/null 2>&1 &"
3. Sync a Site
sl-cli site sync <slug> --host <SERVER_IP> --user <USER> --key <KEY>
Or via HTTP API (after daemon is running):
sl-cli site sync <slug> --target dk2
4. Hotify Config Sync (required for DNS/Traefik)
The daemon user must have the same hotify config as the infra user:
scp ~/.hotify/config.json <USER>@<SERVER_IP>:/tmp/
ssh <USER>@<SERVER_IP>