Function holochain_cli_sandbox::run::run

source ·
pub async fn run(
    holochain_path: &Path,
    sandbox_path: PathBuf,
    conductor_index: usize,
    app_ports: Vec<u16>,
    force_admin_port: Option<u16>,
    structured: Output
) -> Result<()>
Expand description

Run a conductor and wait for it to finish. Use run_async to run in the background. Requires the holochain binary to be available on the holochain_path. Uses the sandbox provided by the sandbox_path. Adds an app interface specified in the app_ports. Can optionally force the admin port used. Otherwise the port in the config will be used if it’s free or a random free port will be chosen.