AlphaAvatarDocs

Docs version

Docs version

v0.7.0

Reference / CLI reference

v0.7.0 · source 21190a84 · English

alphaavatar start

Start an Avatar: on the Host that runs for the application home, or on a Host of its own.

Bash
alphaavatar start [<bundle> | <file>] [KEY=VALUE ...]
  • A Host runs (alphaavatar host start): start asks it for the Avatar, shows its progress, then follows it in the foreground. Ctrl+C or SIGTERM stops that Avatar; the Host keeps running. An Avatar already running there is refused: stop it first.
  • None runs: start runs a Host in this process, its management service included, and the Avatar in it. The Host lives as long as its Avatar: Ctrl+C or SIGTERM stops both, as does the Avatar stopping or failing. See who starts what.
  • Loads a bundle by name, a YAML/JSON file, or the default bundle when omitted; see choosing a configuration.
  • Reads each variable from the environment, then .env (ENV_FILE), then the credentials alphaavatar setup stored; see credentials.
  • INFO logging; health server on 127.0.0.1:8081; its own Host's management service on 127.0.0.1:8091 (settings), or the local socket alone when that port is taken.
  • Creates the application home and Avatar workspace on first run.
  • Ctrl+C or SIGTERM stops it after every owned resource is released.
  • Validates the configuration before starting; alphaavatar config check runs the same validation without starting.
Exit codeMeaning
0Stopped normally
1Failed while running; on a running Host, also a refused start (an Avatar runs there)
2Configuration or startup error
130Interrupted

Either way the reason a start failed is the same, stage and diagnostic; on a running Host it stays queryable (alphaavatar host status) and the start can be retried there.

For development, use alphaavatar dev.


Content maintained in AlphaAvatar/AlphaAvatar · source version shown above.


Documentation

v0.7.0English

Up / Down to navigate · Enter to open · Esc to close