Core workflow

Build and lifecycle

Turn source code into a managed process, then control its complete runtime lifecycle.

Build an application

Phelix inspects the current directory for go.mod or Cargo.toml, compiles the project, starts it, and records a new version.

Terminal
phelix build myapp -p 8080 --tag "v1.2.3"
FlagDefaultPurpose
--port, -p8080Application port
--build-arg, -aRepeatable build-tool arguments
--tagHuman-readable version label
--no-uploadfalseSkip central server sync
--debugfalseVerbose build output
--matrixfalseMatrix mode: versions × platforms
--go-versions / --rust-versionsToolchain versions, e.g. 1.22,1.23
--platformsTargets, e.g. linux/amd64,linux/arm64
--matrix-concurrency4Max parallel matrix builds
--matrix-dry-runfalsePrint the plan without building

Rebuild after changes

Terminal
phelix rebuild myapp --blue-green
phelix rebuild myapp --replicas 3

--blue-green performs a zero-downtime switch, and --replicas N rolls N replicas one at a time. Both auto-start the proxy daemon if it is not running.

Lifecycle commands

CommandBehavior
phelix build <NAME>Compile, version, and start a Go or Rust project.
phelix rebuild <NAME>Rebuild an existing app with classic or zero-downtime deployment.
phelix start [<NAME>]Start one app, or every app when no name is supplied. --ensure builds if missing.
phelix stop <NAME>Stop a running app.
phelix restart <NAME>Restart an app.
phelix status <NAME>Show PID, uptime, RAM/CPU, version, deploy mode, and proxy routing.
phelix listTable of every managed app with version, status, deploy, and proxy columns.
phelix log [<NAME>]Tail app logs (last 10 lines + live stream); no arg shows Phelix's own logs.
phelix remove <NAME>Stop and remove an app from management.