Skip to content

Server Management

Commands for starting, stopping, checking status, and viewing logs of the Evonic Flask server.

Start the Flask server.

Terminal window
evonic start [--port PORT] [--host HOST] [--debug] [-f]
FlagRequiredDescription
--portNoPort number (default: from config or 8080)
--hostNoHost to bind (default: 0.0.0.0)
--debugNoEnable debug mode
-f, --foregroundNoRun server in foreground (blocking mode)

Example:

Terminal window
# Start on default port
evonic start
# Start on custom port
evonic start --port 9000
# Start in foreground with debug mode
evonic start -f --debug

Output:

Server started (PID: 12345)
Host: 0.0.0.0
Port: 8080
URL: http://localhost:8080

Stop the running server.

Terminal window
evonic stop

Example:

Terminal window
evonic stop

Output:

Sending SIGTERM to server (PID: 12345)...
Server stopped (PID: 12345)

Check if the server is running.

Terminal window
evonic status

Example:

Terminal window
evonic status

Output (running):

Server is running (PID: 12345)
Port: 8080
URL: http://localhost:8080

Output (not running):

Server is not running (no PID file)

Check for and apply updates from the Git remote. See the Update System guide for a detailed explanation.

Terminal window
evonic update [--check] [--tag TAG] [--rollback] [nightly]
FlagDescription
--checkFetch tags and report what is available: no update is applied
--tag TAGUpdate to a specific tag (e.g. --tag v0.9.0)
--rollbackRoll back to the previous state via git reflog
nightlyTrack origin/main instead of release tags

No setup required — the update runs directly using git operations on the repository.

Examples:

Terminal window
# Check what version is available
evonic update --check
# Update to the latest release
evonic update
# Update to a specific tag
evonic update --tag v1.3.0
# Roll back to the previous release
evonic update --rollback
# Track the nightly/main channel
evonic update nightly

See also: Update System guide