Skip to content

v0.21.0

Choose a tag to compare

@gfargo gfargo released this 18 May 18:08
· 50 commits to main since this release

New Feature

  • strut remote:init — Bootstrap strut on a remote VPS (#95, #97)

    New command that sets up strut on a remote host in one step:

    strut my-stack remote:init --env prod
    strut remote:init --host compass.local --user gfargo --key ~/.ssh/id_rsa

    What it does:

    1. Tests SSH connectivity
    2. Checks if strut is already installed (reports version/branch if so)
    3. Clones the project repo (uses GH_PAT or interactive auth)
    4. Makes strut executable and verifies it works

    Supports --dry-run, --repo, --branch, --deploy-dir flags.

Improvements

  • Better error messages: vps_update_repo now suggests remote:init when the deploy directory doesn't exist on the VPS, instead of a generic failure message.

Install / Upgrade

curl -fsSL https://raw.githubusercontent.com/gfargo/strut/main/install.sh | bash