Function holochain_cli_sandbox::run::run[][src]

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

Run a conductor and wait for it to finish. Use run_async to run in the background. Requires the holochain binary is available on the holochain_path. Uses the sandbox provided by the sandbox_path. Adds an app interface 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.