summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor deploy functions to use DeployOptions structbndw2026-01-251-84/+107
|
* Add examples to help textbndw2026-01-251-1/+18
|
* Add CPU and memory limits for appsbndw2026-01-254-9/+149
| | | | | | | | | | | | Adds --memory and --cpu flags to set systemd resource limits: ship --binary ./app --memory 512M --cpu 100% Also adds config update mode - use --name without --binary to update an existing app's config without redeploying the binary: ship --name myapp --cpu 50% ship --name myapp --memory 256M --env DEBUG=true Limits are stored in state and preserved on redeploy.
* Add auto-generated subdomain featurebndw2026-01-247-21/+144
| | | | | | | | | | | | | When a base domain is configured on a host (e.g., apps.example.com), deployments automatically get a subdomain ({name}.apps.example.com). Custom --domain can still be provided to route both domains. - Add BaseDomain field to Host state - Add --base-domain flag to host init - Add 'ship host set-domain' command to update base domain - Update deploy flow to auto-generate subdomains - Fix error display (errors were being silently swallowed) - Remove placeholder email from Caddyfile template
* Add ASCII art banner and improve help textbndw2026-01-241-3/+22
| | | | | Show a ship logo in CLI help and explain how ship works - SSH-only deployment with no agents or containers required.
* remove old design specbndw2026-01-241-586/+0
|
* Rename project from deploy to shipbndw2026-01-2425-87/+87
| | | | | | | | | - Rename module to github.com/bdw/ship - Rename cmd/deploy to cmd/ship - Update all import paths - Update config path from ~/.config/deploy to ~/.config/ship - Update VPS env path from /etc/deploy to /etc/ship - Update README, Makefile, and docs
* Update README for new command structurebndw2026-01-241-34/+33
| | | | | | | - Commands now use host subcommand (deploy host init, update, ssh, status) - Remove --host flag from examples (default host set on init) - Update env commands to new subcommand syntax - Simplify configuration section
* Add reboot prompt to host update commandbndw2026-01-241-4/+17
| | | | | Prompts user to reboot when required after apt upgrade completes. Both prompts now default to yes for a more turnkey experience.
* Restructure CLI with Cobrabndw2026-01-2325-1485/+1469
| | | | | | | | | | | | | Replace custom switch-based routing with Cobra for cleaner command hierarchy. Reorganize commands into logical groups: - Root command handles deployment (--binary, --static, --domain, etc.) - App management at top level: list, logs, status, restart, remove - env subcommand group: list, set, unset - host subcommand group: init, status, update, ssh - Standalone: ui (renamed from webui), version Add version command with ldflags support for build info.
* Add VPS management commands: vps, vps-update, vps-sshbndw2026-01-232-0/+244
| | | | | | - vps: Show server health (uptime, load, memory, disk, services) - vps-update: Run apt update && upgrade with streaming output - vps-ssh: Open interactive SSH session to default/specified host
* Make deploy the default action and require --binarybndw2026-01-232-35/+20
| | | | | | | - Remove "deploy" subcommand, deploy is now the default action - Require --binary flag explicitly (no auto-discovery) - Add "rm" as alias for "remove" - Update help text
* Move default host from config file to state.jsonbndw2026-01-237-172/+84
| | | | | | | | | Instead of a separate ~/.config/deploy/config file, the default host is now stored as default_host in state.json. This simplifies the config and keeps all state in one place. The init command now automatically sets the default host if none is configured.
* Add deploy command and fix static site namingbndw2026-01-239-1/+1960
| | | | | | | | Static sites now default to using the domain as the name instead of the source directory basename, preventing conflicts when multiple sites use the same directory name (e.g., dist). Also fixes .gitignore to not exclude cmd/deploy/ directory.
* fixed logs -fbndw2025-12-281-0/+36
|
* filesbndw2025-12-283-2/+10
|
* initbndw2025-12-2815-0/+1758