serve — Serve System Descriptions Using a Web Server
machinery serve [-p PORT | --port=PORT] [--public]
machinery help serve
serve command spawns a web server to view system descriptions as an HTML
By default the server is available from http://127.0.0.1:7585 but both the IP address and the port can be configured using the according options.
Specific descriptions are available from http://127.0.0.1:7585/NAME, where NAME is the name of the system description. If no name is specified in the URL an overview of all descriptions is served.
--port=PORT(optional): Specify the port on which the web server will serve the HTML view: Default: 7585
Ports can be selected in a range between 2-65535. Ports between 2 and 1023 can only be chosen when
machinerywill be executed as
--public(optional): Specifying this option, lets the server listen on each configured IP address. By default the server will only listen on the localhost IP address 127.0.0.1
Start the server with default options:
Make the server available to other machines on the network on port 3000:
machineryserve --public --port 3000