Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.49 KB

File metadata and controls

52 lines (34 loc) · 1.49 KB

start

An Interbit CLI command that starts the Developer mode hypervisor.

Syntax

interbit start [--config path/to/interbit.config.js] \
               [--port number] \
               --dev \
               --no-watch

Options

--config String Optional Default=./interbit.config.js

The path to an Interbit configuration file to use for deployment.

--port Integer Optional Default=5000

The port that your Interbit node uses to communicate.

--dev Empty

A switch to indicate that development mode should be used. Development mode does not output an updated manifest and it watches covenants for updates, deploying the updated covenants to the configured static chains automatically.

This does not update covenants applied to dynamic chains.

--no-watch Empty

A switch that, when combined with the --dev option, stops the automatic covenant updates.

Discussion

The start command:

  • starts an Interbit hypervisor in developer mode,

  • creates the chains specified in the config file, attempting to use the resolved chain IDs in the manifest (if available),

  • watches the files in your covenants and deploys updates,

  • updates your React app’s index.html file with the temporary developer mode chain ID,

  • starts the node from the port specified with --port, or 5000 if none was specified.